User Manual

User Manual
© 2008-2019 Seeed Technology Co., Ltd. All rights reserved. www.seeed.cc
27 / 37
Packet Parsing
Packet Initialization
After being powered on or reboot, SenseCAP Sensor Nodes will be connected to the network using the
OTAA activation method. Each Sensor Node will send data packets to the server, including the following
data:
Initial packetsno need to learn about these initial packets
One packet with device info including hardware version, software version, battery level, sensor
hardware & software version, sensor EUI, power, and sensor power time counter at each channel.
Measurement data packets
The only thing we should pay attention to is the sensor measurement data packets
Packet Structure
The structure of the frame is shown in the image below.
1 byte for channeldefault as 1, means the sensor has been well connected.
2 bytes for frame type, in this case, it will be 0110 and 0210, means temperature value and humidity
value
4 bytes for content, is the sensor value with CRC
The frame content is sent in little-endian byte order
5.1.1 Example 1 - Air Temperature & Humidity Sensor:
Air Temperature & Humidity Sensor measurement packet: 010110B068000001021088F400008CFF