User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor
AT Command
to configure:
AT+TTRIG=1,30
--> When the
Keep Status
change from connect to disconnect, and device remains in
disconnect status for more than 30 seconds. CPL01 will send an uplink packet, the
(the second bit of 1
st
byte of payload) on this uplink packet is set to 1.
AT+TTIG=0,0
--> Default Value, disable timeout Alarm.
Downlink Command
to configure:
Command: 0xA9 aa bb cc
A9: Command Type Code
aa: status to be monitored
bb cc: timeout.
If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30
Or
0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm.
3.6 Clear Flash Record
Feature: Clear flash storage for data log feature.
AT Command: AT+CLRDTA
Downlink Command:
•
Example
: 0xA301 //Same as AT+CLRDTA
3.7 Set the sensor mode
Feature: LDS03A and CPL01 use the same firmware. User is possible to switch between this two models.
AT Command: AT+MOD
Command Example
Function
Response
AT+MOD =1
Set the sensor to LDS03A.
OK
AT+MOD=2
Set the sensor to CPL01.
OK
Downlink Command:
•
Example
: 0x0A02 //Same as AT+MOD=2
Page 27 / 32 - last modified by Xiaoling on 2022/07/01 18:01