PebbleOS v4.47.0-757-g12b6c531f
Loading...
Searching...
No Matches

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.
 

Detailed Description

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.

Function Documentation

◆ bt_gateway_deinit()

void bt_gateway_deinit ( void  )

Stop the clients, before the stack stops.

◆ bt_gateway_handle_event()

void bt_gateway_handle_event ( const PebbleEvent *  event)

Handle the gateway being connected or lost, on KernelMain.

Parameters
eventA PEBBLE_BLE_CONNECTION_EVENT.

◆ bt_gateway_init()

void bt_gateway_init ( void  )

Start with the stack.

◆ bt_gateway_rediscover()

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.