EasyManua.ls Logo

TELINK SEMICONDUCTOR TLSR8232 - BLE SPP Module; Command and Data Packet Format

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 199 Ver.1.0.0
12. BLE SPP Module
Telink’s BLE module provides SPP (Serial Port Profile) data transmission, therefore
users do not need to care about the implementation details of BLE and can focus on the
data.
12.1 Command and Data Packet Format
Telink BLE module use UART interface to communicate with Host. Telink provides
corresponding commands and events for BLE module for users.
Table 12-1 BLE SPP Command (From Host to Telink BLE module)
Field
Bytes
Description
cmdID
2
Command ID
ParaLen
2
Length of parameters
Parameters
n
Parameter payload
Table 12-2 BLE SPP Events (From Telink BLE Module to Host)
Field
Bytes
Description
Token
1
Always be 0xFF
ParaLen
1
Length of parameters
eventId
2
Event ID
Parameters
n
Parameter payload
BLE SPP command indicates a command sent from the Host to Telink BLE module,
while BLE SPP event indicates a synchronous event or an asynchronous event sent
from Telink BLE module to the Host.
A synchronous event is the acknowledgement event corresponding to a command, e.g.
“Command Complete event”.
An asynchronous event is the report event to indicate that something has happened to
Telink BLE module, e.g. data has been received (“Data Received event”).

Table of Contents