|
PebbleOS v4.47.0-757-g12b6c531f
|
The clients of the services of the gateway, the phone: PPoGATT, Service Changed, ANCS and AMS. More...
Functions | |
| void | bt_gateway_init (void) |
| Start with the stack. | |
| void | bt_gateway_deinit (void) |
| Stop the clients, before the stack stops. | |
| void | bt_gateway_handle_event (const PebbleEvent *event) |
| Handle the gateway being connected or lost, on KernelMain. | |
| void | bt_gateway_rediscover (void) |
| Make the clients look for the services of the gateway again, as when it indicates that they changed. | |
The clients of the services of the gateway, the phone: PPoGATT, Service Changed, ANCS and AMS.
They start when the link becomes the gateway's and stop when it is lost.
| void bt_gateway_deinit | ( | void | ) |
Stop the clients, before the stack stops.
| void bt_gateway_handle_event | ( | const PebbleEvent * | event | ) |
Handle the gateway being connected or lost, on KernelMain.
| event | A PEBBLE_BLE_CONNECTION_EVENT. |
| void bt_gateway_init | ( | void | ) |
Start with the stack.
| void bt_gateway_rediscover | ( | void | ) |
Make the clients look for the services of the gateway again, as when it indicates that they changed.
Callable from any thread.