Datasheet

Response: None
AT+GATTADDSERVICE
Adds a new custom service definition to the device.
Codebase Revision: 0.3.0
Parameters: This command accepts a set of comma-separated key-value pairs that are used
to define the service properties. The following key-value pairs can be used:
UUID: The 16-bit UUID to use for this service. 16-bit values should be in hexadecimal
format (0x1234).
UUID128: The 128-bit UUID to use for this service. 128-bit values should be in the
following format: 00-11-22-33-44-55-66-77-88-99-AA-BB-CC-DD-EE-FF
Response: The index value of the service in the custom GATT service lookup table. (It's
important to keep track of these index values to work with the service later.)
AT+GATTCLEAR
OK
Note: Key values are not case-sensitive
Only one UUID type can be entered for the service (either UUID or UUID128)
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 171 of 238