Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
200
Ver.1.0.0
Please refer to Table 12-3 and Table 12-4 for general commands and events.
Table 12-3 General AT Command Set
CmdFunction
cmdID
ParaLen
Parameters
Format
Corresponding
event
Set Advertising
Interval
0xFF01
0x0002
Interval:
e.g. 0x0050
Advertising interval = 80*
0.625ms = 50ms
e.g.
01 FF 02 00
50 00
Command
Complete event
Set Advertising
Data
0xFF02
<=0x0010
e.g.
0x0006
Data set:
e.g. 01 02 03 04 05 06
e.g.
02 FF 06 00
01 02 03 04
05 06
Command
Complete event
Enable/Disable
Advertising
0xFF0A
0x0001
Enable: 0x01
Disable: 0x00
e.g.
0A FF 01 00
01
Command
Complete event
Get Module
Available Data
Buffer
0xFF0C
0x0000
NA
0C FF 00 00
Command
Complete event
Set Advertising
Type
0xFF0D
0x0001
0x00: connectable undirected adv
0x01: connectable directed adv
0x02: scannable undirected adv
0x03: non-connectable adv
e.g.
0D FF 01 00
00
Command
Complete event
Set Advertising
Direct Address
0xFF0E
0x0007
Parameter 1: dirAddrType
0x00: Public Address
0x01: Random Address
Parameter 2: dirAddress
e.g. 01 02 03 04 05 06
e.g.
0E FF 07 00
00 01 02 03
04 05 06
Command
Complete event