Bluetooth: Add Battery Service to peripheral sample
Add Battery Service along with its characteristics and descriptors to the database table. Change-Id: Ifb83ebcb4d6cdafa5df84d643b2e2a69e5a6c1e3 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
1b793139db
commit
a8f34a1c1e
2 changed files with 38 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
#define BT_UUID_GAP 0x1800
|
||||
#define BT_UUID_GATT 0x1801
|
||||
#define BT_UUID_HRS 0x180d
|
||||
#define BT_UUID_BAS 0x180f
|
||||
#define BT_UUID_GATT_PRIMARY 0x2800
|
||||
#define BT_UUID_GATT_SECONDARY 0x2801
|
||||
#define BT_UUID_GATT_INCLUDE 0x2802
|
||||
|
@ -44,6 +45,7 @@
|
|||
#define BT_UUID_GATT_CCC 0x2902
|
||||
#define BT_UUID_GAP_DEVICE_NAME 0x2a00
|
||||
#define BT_UUID_GAP_APPEARANCE 0x2a01
|
||||
#define BT_UUID_BATTERY_LEVEL 0x2a19
|
||||
#define BT_UUID_HR_MEASUREMENT 0x2a37
|
||||
#define BT_UUID_HR_BODY_SENSOR 0x2a38
|
||||
#define BT_UUID_HR_CONTROL_POINT 0x2a39
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue