Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
101
Ver.1.0.0
The following groups in Slave Attribute Table meet the requirement according to current
demo code.
1) Attribute Group with attHandle from 0x0001 to 0x0007, Attribute Value is
SERVICE_UUID_GENERIC_ACCESS (0x1800).
2) Attribute Group with attHandle from 0x0008 to 0x000a, Attribute Value is
SERVICE_UUID_DEVICE_INFORMATION (0x180A).
3) Attribute Group with attHandle from 0x000B to 0x0025, Attribute Value is
SERVICE_UUID_HUMAN_INTERFACE_DEVICE (0x1812).
4) Attribute Group with attHandle from 0x0026 to 0x0028, Attribute Value is
SERVICE_UUID_BATTERY (0x180F).
5) Attribute Group with attHandle from 0x0029 to 0x0032, Attribute Value is
TELINK_AUDIO_UUID_SERVICE (0x11, 0x19, 0x0d, 0x0c, 0x0b, 0x0a, 0x09, 0x08,
0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00).
Slave responds to Master with the attHandle and attValue information of the five Groups
above via the “Read by Group Type Response” command. The final
ATT_Error_Response indicates end of response. When Master receives this packet, it
will stop sending “Read by Group Type Request”. Please refer to
Core_v5.0
for details of
“Read by Group Type Request” and “Read by Group Type Response” commands.
3.4.3.2 Find by Type Value Request, Find by Type Value Response
Please see
Core_v5.0
(Vol 3/Part F/3.4.3.3 and 3.4.3.4
) for details of “Find by Type
Value Request
” and “Find by Type Value Response”.
The “Find by Type Value Request” command sent by Master specifies starting and
ending attHandle, as well as AttributeType and Attribute Value. After the request is
received, Slave will check through current Attribute Table according to the specified
starting and ending attHandle, and find the Attribute that matches the specified
AttributeType and Attribute Value. Then Slave will respond to Master with the Attribute
via the “Find by Type Value Response” command.
Figure 3-36 Find by Type Value Request/Find by Type Value Response
3.4.3.3 Read by Type Request, Read by Type Response
Please refer to
Core_v5.0
(Vol 3/Part F/3.4.4.1 and 3.4.4.2
) for details about “Read by
Type Request
” and “Read by Type Response”.
The “Read by Type Request” command sent by Master specifies starting and ending
attHandle, as well as AttributeType. After the request is received, Slave will check
through current Attribute Table according to the specified starting and ending attHandle,
and find the Attribute that matches the specified AttributeType. Then Slave will respond
to Master with
the Attribute via the “Read by Type Response”.