PebbleOS v4.47.0-1219-g7c542d7a9
Loading...
Searching...
No Matches
dis.h File Reference

Data Structures

struct  pbl_bt_dis_info
 Device Information Service values, NUL-terminated strings. More...
 

Macros

#define PBL_BT_DIS_MODEL_NUMBER_LEN   (10)
 Length of the model number.
 
#define PBL_BT_DIS_MANUFACTURER_LEN   (18)
 Length of the manufacturer name.
 
#define PBL_BT_DIS_SERIAL_NUMBER_LEN   (13)
 Length of the serial number.
 
#define PBL_BT_DIS_FW_REVISION_LEN   (32)
 Length of the firmware revision.
 
#define PBL_BT_DIS_SW_REVISION_LEN   (8)
 Length of the software revision, formatted as xx.xxx.
 

Functions

void pbl_bt_dis_set_info (const struct pbl_bt_dis_info *info)
 Set the values the service serves, before the stack starts.