PebbleOS
Loading...
Searching...
No Matches
Functions
ppog_reversed.h File Reference
#include <pbl/bluetooth/types.h>
#include <stdint.h>

Functions

void pbl_bt_cb_ppog_reversed_subscribed (const struct pbl_bt_device_internal *device, uint16_t conn_handle)
 Called when the phone enabled notifications on the data characteristic.
 
void pbl_bt_cb_ppog_reversed_unsubscribed (uint16_t conn_handle)
 Called when the phone disabled notifications or disconnected.
 
void pbl_bt_cb_ppog_reversed_data_written (uint16_t conn_handle, uint8_t *buf, uint16_t len)
 Called when the phone wrote a PPoGATT packet to the data write characteristic.
 
enum pbl_bt_errno pbl_bt_ppog_reversed_notify (uint16_t conn_handle, const uint8_t *buf, uint16_t len)
 Send a PPoGATT packet to the phone as a notification.