EasyManua.ls Logo

TELINK SEMICONDUCTOR TLSR8232 - Page 204

Default Icon
211 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1 203 Ver.1.0.0
CmdFunction
cmdID
ParaLen
Parameters
Format
Corresponding
event
can be connected with this
module.
‘0x00’: disable MAC binding
function
Add device’s
MAC address
to MAC binding
table
0xFF1A
0x0006
MacAddr
MAC address to be added into
MAC binding table.
Note: MAC table supports public
MAC address only.
e.g. B4 CE BF 01 E7 60
e.g.
1A FF 06 00
B4 CE BF 01
E7 60
Command
Complete Event
Delete a MAC
item from MAC
binding table
0xFF1B
0x0006
MacAddr
MAC address to be deleted from
MAC binding table.
e.g. B4 CE BF 01 E7 60
e.g.
1B FF 06 00
B4 CE BF 01
E7 60
Command
Complete Event
Send Data
0xFF1C
<=0x0016
e.g.
0x0007
Handle2 bytesof the
Attribute “Service to client”
E.g. 0x0011
Data payloadMax Len:
20bytes
E.g. 01,02,03,04,05
e.g.
1C FF 07 00
11 00 01 02
03 04 05
Command
Complete Event
Table 12-4 General Events
Event name
Type
Token
ParaLen
EventID
Parameters
Format
Command
Complete
event
Synchronous
0xFF
0x03
corresponding to the
command
Rule:
eventID = (cmdID &
0x03FF) | 0x0400
Indicates status
information
Success: 0x00
Others: ble error
code, @ble_sts_t
e,g.
FF 03 01 07
00

Table of Contents