PebbleOS v4.47.0-512-g5285d4236
Loading...
Searching...
No Matches
BLE control endpoint

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

Functions

void pp_ble_control_protocol_msg_callback (struct pbl_pp_session *session, const uint8_t *data, size_t length)
 Handle a BLE control endpoint message, on SysWorkq.
 

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 ( struct pbl_pp_session *  session,
const uint8_t *  data,
size_t  length 
)

Handle a BLE control endpoint message, on SysWorkq.

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.