mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
12 lines
390 B
Plaintext
12 lines
390 B
Plaintext
PRIMARY_SERVICE, GAP_SERVICE
|
|
CHARACTERISTIC, GAP_DEVICE_NAME, READ, "GATT Profiles"
|
|
|
|
// add Battery Service
|
|
// Battery Service 180F
|
|
PRIMARY_SERVICE, ORG_BLUETOOTH_SERVICE_BATTERY_SERVICE
|
|
CHARACTERISTIC, ORG_BLUETOOTH_CHARACTERISTIC_BATTERY_LEVEL, DYNAMIC | READ | NOTIFY,
|
|
CHARACTERISTIC_FORMAT, READ, 04, 00, 27AD, 01, 01
|
|
|
|
// add Device ID Service
|
|
#import <device_information_service.gatt>
|