|
PebbleOS v4.47.0-505-g4bbc630fa
|
The handler of a connection's GAP events. More...
Functions | |
| int | pbl_bt_gap_event_handler (struct ble_gap_event *event, void *arg) |
| Handle a GAP event of a connection. | |
The handler of a connection's GAP events.
| int pbl_bt_gap_event_handler | ( | struct ble_gap_event * | event, |
| void * | arg | ||
| ) |
Handle a GAP event of a connection.
Connections are only established through advertising: pass this handler to ble_gap_adv_start(), and the events of the connections it leads to are reported through the subsystem (see LE connections).
| event | Event. |
| arg | Unused. |