mirror of
https://github.com/google/pebble.git
synced 2025-05-29 22:43:12 +00:00
spelling: response
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0a6167953f
commit
c42dfbcdfc
6 changed files with 12 additions and 12 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
//! @internal
|
||||
//! The number of reports that the circular reports buffer can contain.
|
||||
//! Accomodate for 4 reports with advertisement and scan reponse data:
|
||||
//! Accomodate for 4 reports with advertisement and scan response data:
|
||||
#define GAP_LE_SCAN_REPORTS_BUFFER_SIZE (4 * (sizeof(GAPLERawAdReport) + \
|
||||
(2 * GAP_LE_AD_REPORT_DATA_MAX_LENGTH)))
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ static void prv_internal_write_cccd_response_cb(GattClientOpResponseHdr *event)
|
|||
gatt_client_subscriptions_handle_write_cccd_response(cccd, error);
|
||||
}
|
||||
|
||||
static BLEGATTError prv_handle_response(const GattClientOpReadReponse *resp,
|
||||
static BLEGATTError prv_handle_response(const GattClientOpReadResponse *resp,
|
||||
const GattClientEventContext *data,
|
||||
uint16_t *gatt_value_length) {
|
||||
uint16_t val_len = resp->value_length;
|
||||
|
@ -154,7 +154,7 @@ void bt_driver_cb_gatt_client_operations_handle_response(GattClientOpResponseHdr
|
|||
} else {
|
||||
switch (event->type) {
|
||||
case GattClientOpResponseRead: {
|
||||
const GattClientOpReadReponse *resp = (GattClientOpReadReponse *)event;
|
||||
const GattClientOpReadResponse *resp = (GattClientOpReadResponse *)event;
|
||||
PBL_ASSERTN(data->subtype == PebbleBLEGATTClientEventTypeCharacteristicRead ||
|
||||
data->subtype == PebbleBLEGATTClientEventTypeDescriptorRead);
|
||||
gatt_err_code = prv_handle_response(resp, data, &gatt_value_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue