CC1310/CC1350 with TI-RTOS operating system Sensor, Collector routine frequency hopping mode communication details
[Copy link]
Project related, studied the communication details of the frequency hopping mode (Freq_hopping) of Sensor and Collector routines of TI's wireless products CC1310/CC1350 with TI-RTOS operating system:
1. Software structure
Sensor side
Mainly consists of three files: 1.sensor.c
2.ssf.c
3. jdllc.c
Colletor side
Mainly consists of three files:
1.collector.c
2.csf.c
3.cllc.c
2. Communication details
The communication process includes the following 4 types of data packets:
1.config package
Collector Sensor
(mac12)————>(mac13)
(mac13)<————(mac12)
After the Sensor is connected to the Collector, the Collector sends the config package to the Sensor. The content is to set the polling and reporting time of the Sensor. After the configuration is successful, the package will not be sent again.
2.tracking package
Collector Sensor
(mac12)————>(mac13)
(mac13)<————(mac12)
The tracking packet is sent periodically by the Collector to the Sensor after the Sensor is connected to the Collector to check whether the Sensor is alive
. Considering the sleep state of the Sensor, the tracking packet is sent periodically at an integer multiple of the polling time.
(mac10)————>(mac16)
(mac10)<————(mac16)
The polling package is sent by the Sensor to the Collector at a fixed time. The polling time is the polling time set by the Collector to the Sensor via the config package. The function of the polling package is not very
clear
.
(mac12)————>(mac13)
The sensor package is periodically sent from the Sensor end to the Collector end. The package contains sensor data. The scheduled sending time of the sensor package is the Reporting value in the config package sent by the Collector.
|