PebbleOS
Loading...
Searching...
No Matches
Functions
BLE control endpoint

Pebble Protocol endpoint letting the phone make the watch discoverable. More...

Functions

void pp_ble_control_protocol_msg_callback (CommSession *session, const uint8_t *data, unsigned int length)
 Handle a BLE control endpoint message, on KernelBG.
 

Detailed Description

Pebble Protocol endpoint letting the phone make the watch discoverable.

Function Documentation

◆ pp_ble_control_protocol_msg_callback()

void pp_ble_control_protocol_msg_callback ( CommSession *  session,
const uint8_t *  data,
unsigned int  length 
)

Handle a BLE control endpoint message, on KernelBG.

Only the "set discoverable and pairable" command is supported; it makes the watch pairable for the requested duration.

Parameters
sessionSession the message arrived on.
dataMessage payload.
lengthLength of data in bytes.