spelling: response

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:35:45 -05:00
parent 0a6167953f
commit c42dfbcdfc
6 changed files with 12 additions and 12 deletions

View file

@ -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)))

View file

@ -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);

View file

@ -45,8 +45,8 @@ typedef enum {
AnalyticsEvent_AppLaunch,
AnalyticsEvent_PinOpen,
AnalyticsEvent_PinAction,
AnalyticsEvent_CannedReponseSent,
AnalyticsEvent_CannedReponseFailed,
AnalyticsEvent_CannedResponseSent,
AnalyticsEvent_CannedResponseFailed,
AnalyticsEvent_VoiceTranscriptionAccepted,
AnalyticsEvent_VoiceTranscriptionRejected,
AnalyticsEvent_PinAppLaunch,

View file

@ -217,8 +217,8 @@ void analytics_event_canned_response(const char *response, bool successfully_sen
// Format the event specific info in the blob. The analytics_logging_log_event() method will fill
// in the common fields
AnalyticsEventBlob event_blob = {
.event = successfully_sent ? AnalyticsEvent_CannedReponseSent
: AnalyticsEvent_CannedReponseFailed,
.event = successfully_sent ? AnalyticsEvent_CannedResponseSent
: AnalyticsEvent_CannedResponseFailed,
};
if (!response) {

View file

@ -160,7 +160,7 @@ static void prv_cleanup(AppFetchResult result) {
}
//! System task callback triggered by app_fetch_put_bytes_event_handler() when we are receiving
//! put_bytes messages in reponse to a fetch request to the phone.
//! put_bytes messages in response to a fetch request to the phone.
void prv_put_bytes_event_system_task_cb(void *data) {
PebblePutBytesEvent *pb_event = (PebblePutBytesEvent *)data;

View file

@ -96,15 +96,15 @@ typedef struct GattClientOpResponseHdr {
void *context;
} GattClientOpResponseHdr;
typedef struct GattClientOpReadReponse {
typedef struct GattClientOpReadResponse {
GattClientOpResponseHdr hdr;
uint16_t value_length;
uint8_t *value;
} GattClientOpReadReponse;
} GattClientOpReadResponse;
typedef struct GattClientOpWriteReponse {
typedef struct GattClientOpWriteResponse {
GattClientOpResponseHdr hdr;
} GattClientOpWriteReponse;
} GattClientOpWriteResponse;
// -- Gatt Data Structures