PebbleOS
Loading...
Searching...
No Matches
Macros | Functions
pebble_bt.h File Reference
#include <stdint.h>
#include <pbl/util/uuid.h>

Macros

#define PBL_BT_PPS_UUID_16BIT   (0xFED9)
 Bluetooth SIG registered 16-bit UUID of Pebble Technology, the Pebble service.
 
#define PBL_BT_PEBBLE_PPOGATT_SERVICE_UUID_32BIT   (0x10000000)
 Service UUID of Pebble Protocol over GATT (PPoGATT), the phone being the server.
 
#define PBL_BT_PEBBLE_PPOGATT_DATA_CHARACTERISTIC_UUID_32BIT   (0x10000001)
 PPoGATT data characteristic.
 
#define PBL_BT_PEBBLE_PPOGATT_META_CHARACTERISTIC_UUID_32BIT   (0x10000002)
 PPoGATT meta characteristic.
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_V1_SERVICE_UUID_32BIT   (0x30000003)
 Service UUID of the V1 watch-as-server PPoGATT, as shipped on Pebble 2 (DA1468x).
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_V1_DATA_CHARACTERISTIC_UUID_32BIT   (0x30000004)
 V1 watch-as-server PPoGATT data characteristic.
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_V1_META_CHARACTERISTIC_UUID_32BIT   (0x30000005)
 V1 watch-as-server PPoGATT meta characteristic.
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_V1_DATA_WR_CHARACTERISTIC_UUID_32BIT   (0x30000006)
 V1 watch-as-server PPoGATT data write characteristic.
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_SERVICE_UUID_32BIT   (0x40000000)
 Service UUID of the V2 "reversed" PPoGATT, see Reversed PPoGATT.
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_DATA_CHARACTERISTIC_UUID_32BIT   (0x40000001)
 Reversed PPoGATT data characteristic, notified by the watch.
 
#define PBL_BT_PEBBLE_PPOGATT_WATCH_SERVER_DATA_WR_CHARACTERISTIC_UUID_32BIT   (0x40000003)
 Reversed PPoGATT data write characteristic, written by the phone.
 
#define PBL_BT_PEBBLE_APP_LAUNCH_SERVICE_UUID_32BIT   (0x20000000)
 Service UUID of the Pebble App Launch service.
 
#define PBL_BT_PEBBLE_APP_LAUNCH_CHARACTERISTIC_UUID_32BIT   (0x20000001)
 Pebble App Launch characteristic.
 
#define PBL_BT_PEBBLE_UUID_EXPAND(u)
 Compile-time version of pbl_bt_pebble_uuid_expand().
 

Functions

void pbl_bt_pebble_uuid_expand (Uuid *uuid, uint32_t value)
 Expand a 32-bit (or 16-bit) Pebble UUID with the Pebble Base UUID.