Nanjing Lansitec Information Technology Co. LTD 100-00193 사용자 설명서

다운로드
페이지 12
Temperature and Humidity LoRaWAN Sensor
2
/
12
2.
Application Information
2.1
Function
The sensor works in OTAA and Class A mode. DEVEUI, APPEUI and APPKEY are stored in the sensor
and is necessary for joining a network. DEVEUI is labeled at the back of the device. APPEUI, APPKEY
should be provided by each application. Lansitec will help to configure this before shipping.
After power on and join the Lora network, sensor will send registration message to Application
Server(AS). If AS doesn’t reply, sensor will retry for 5 times before switching to default mode
(periodically report mode). Configuration information of the sensor is included in this registration
message for AS to validate.
Sensor starts to work after receiving acceptance response or no AS reply after 5 times registration
trial. Temperature and humidity will be reported to AS periodically. The duty cycle is configurable by
commands from AS. Temperature and humidity acquisition and report period is 10 minutes by
default.
According to LoRaWAN specification, downlink response time is decided by uplink duty cycle, user
should refer the needed response time to choose uplink duty cycle. Detailed downlink and uplink
definition are described below.
2.2
Uplink Message
2.2.1
Register
Bytes
1
1
1
1
2
2
Item
TYPE
SMODE
POWER
CFG
TH
CRC
TYPE field
Bit
Name
Value
Description
7~4
TYPE
0x1
Message type. AS can use it to identify different
uplink messages.
3
ADR
0: OFF
1: ON
ADR (Adaptive Date Rate) status
2~0
MODE
0x01~0x07
Current working scheme which should be one of
SMODE
SMODE field
Bit
Name
Value
Description