PebbleOS
Loading...
Searching...
No Matches
Functions

Periodic ping to the phone, reporting whether the watch is idle. More...

Functions

void ping_send_if_due (void)
 Send a ping if one is due.
 

Detailed Description

Periodic ping to the phone, reporting whether the watch is idle.

Function Documentation

◆ ping_send_if_due()

void ping_send_if_due ( void  )

Send a ping if one is due.

Call it when other data is being sent to the phone anyway, to avoid waking the phone just for the ping. Does nothing if a ping was sent less than an hour ago. The ping is sent from KernelBG, so this may be called with the Bluetooth lock held.