mirror of https://github.com/google/pebble
spelling: receive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
a58187577d
commit
a0222e963c
|
@ -174,7 +174,7 @@ static void prv_response_cb(HciStatusCode status, const uint8_t *payload) {
|
|||
// RX Test, need to keep track of received packets
|
||||
// Payload is as follows:
|
||||
// | 1 byte | 2 bytes |
|
||||
// | success | recieved packets |
|
||||
// | success | received packets |
|
||||
// So we want grab a uint16_t from 1 byte into the payload
|
||||
const uint16_t *received_packets = (uint16_t *)(payload + 1);
|
||||
data->rx_test_received_packets = *received_packets;
|
||||
|
|
|
@ -895,7 +895,7 @@ static void prv_handle_ns_notification(uint32_t length, const uint8_t *notificat
|
|||
case EventIDNotificationAdded:
|
||||
// In iOS 8.2 several apps (especially mail.app) seem to be setting the preexisting flag
|
||||
// when they shouldn't. This appeared to be fixed in iOS 9 beta 1.
|
||||
// By skipping the preexisting check we will re-recieve all the notifications
|
||||
// By skipping the preexisting check we will re-receive all the notifications
|
||||
// we got in the past 2 hours. To get past this ignore notifications for the first couple
|
||||
// seconds after connecting
|
||||
if (s_just_connected && (nsnotification->event_flags & EventFlagPreExisting)) {
|
||||
|
|
|
@ -469,7 +469,7 @@ void analytics_event_health_insight_response(time_t timestamp, ActivityInsightTy
|
|||
ActivitySessionType activity_type,
|
||||
ActivityInsightResponseType response_id);
|
||||
|
||||
//! Tracks duration of time it takes to recieve byte transfers over putbytes
|
||||
//! Tracks duration of time it takes to receive byte transfers over putbytes
|
||||
//! and statistics on the type of transfer and whether the data stored was valid
|
||||
//! @param session the session used to transfer the data
|
||||
//! @param crc_good whether or not the CRC for the blob transferred is valid
|
||||
|
|
|
@ -77,7 +77,7 @@ static void prv_timer_callback(void *context) {
|
|||
}
|
||||
|
||||
static void prv_schedule_call_watchdog(int poll_interval_ms) {
|
||||
// The Android app currently crashes if it recieves the get_state event. It currently doesn't
|
||||
// The Android app currently crashes if it receives the get_state event. It currently doesn't
|
||||
// respond either so don't bother sending messages we don't need to. We also don't need to poll
|
||||
// iOS 9 since we can rely on ANCS to tell us when the phone stops ringing
|
||||
if (s_call_source == PhoneCallSource_ANCS_Legacy) {
|
||||
|
|
Loading…
Reference in New Issue