<
From version < 46.1 >
edited by David Huang
on 2022/10/24 10:18
To version < 42.1 >
edited by Edwin Chen
on 2022/10/23 00:32
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.David
1 +XWiki.Edwin
Content
... ... @@ -260,16 +260,15 @@
260 260  
261 261  == **2.3  Uplink Payload** ==
262 262  
263 -The uplink payload includes 123 bytes in total by default.
263 +The uplink payload includes 87 bytes in total by default.
264 264  
265 265  Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded.
266 266  
267 -|**Size(bytes)**|**8**|**2**|**2**|**1**|**1**|**1**|**1**|**1**|**3**
268 -|**Value**|[[Device ID>>path:#H2.4.1A0A0DeviceID]]|[[Ver>>path:#H2.4.2A0VersionInfo]]|[[BAT>>path:#H2.4.3A0BatteryInfo]]|[[Signal Strength>>path:#H2.4.4A0SignalStrength]]|MOD|[[ Calculate Flag>>path:#H2.4.8A0DigitalInterrupt]]|Contact Status|Alarm|Total pulse
267 +|**Size(bytes)**|**8**|**2**|**2**|**1**|**1**|**1**|**2**|**2**|4
268 +|**Value**|[[Device ID>>path:#H2.4.1A0A0DeviceID]]|[[Ver>>path:#H2.4.2A0VersionInfo]]|[[BAT>>path:#H2.4.3A0BatteryInfo]]|[[Signal Strength>>path:#H2.4.4A0SignalStrength]]|MOD|[[Interrupt>>path:#H2.4.8A0DigitalInterrupt]]|[[Soil P>>path:#H2.4.7A0SoilConductivity28EC29]]H|[[Soil Temperature>>path:#H2.4.6A0SoilTemperature]]|Time stamp
269 269  
270 -(% style="width:1201px" %)
271 -|**3**|**4**|**1**|**3**|**1**|**3**|4|**8 group**|(% style="width:1px" %)
272 -|The last open duration|Time stamp|Contact Status|Total pulse|Calculate Flag|The last open duration|Time stamp|...|(% style="width:1px" %)
270 +|2|2|4|8 group
271 +|[[Soil Temperature>>path:#H2.4.6A0SoilTemperature]]|[[Soil P>>path:#H2.4.7A0SoilConductivity28EC29]]H|Time stamp|...
273 273  
274 274  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the CPN01 uplink data.
275 275  
... ... @@ -300,9 +300,9 @@
300 300  
301 301  *(% style="color:#037691" %) **The last open duration:**(%%)0x02 =2
302 302  
303 -*(% style="color:#037691" %)** Time stamp :**(%%) 0x6315537b =1662342011 (Unix Time)
302 +*(% style="color:#037691" %)** Time stamp :**(%%) 0x6315537b =1662342011 (Unix Time)
304 304  
305 -*(% style="color:#037691" %) **Contact Status, Total pulse, Calculate Flag, The last open duration ,Time stamp :**(%%) 01  00000b  02  000026  63510fed
304 +*(% style="color:#037691" %) **Contact Status, Total pulse, Calculate Flag, The last open duration ,Time stamp :**(%%) 0100000b0200002663510fed
306 306  
307 307  *(% style="color:#037691" %) **8 sets of recorded data: Contact Status, Total pulse, Calculate Flag, The last open duration ,Time stamp :**(%%) 0100000e0200002663510f39,.......
308 308  
... ... @@ -430,10 +430,12 @@
430 430  
431 431  The CPN01 has an internal LED which is to show the status of different states.
432 432  
433 -* When the device starts normally, the LED will light up for 1 second.
432 +* When power on, CPN01 will detect if sensor probe is connected, if probe detected, LED will blink four times. (no blinks in this step is no probe)
433 +* Then the LED will be on for 1 second means device is boot normally.
434 434  * After CPN01 join NB-IoT network. The LED will be ON for 3 seconds.
435 435  * For each uplink probe, LED will be on for 500ms.
436 436  
437 +
437 437  == **2.7  Alarm Base on Timeout** ==
438 438  
439 439  CPN01 can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are:
... ... @@ -459,7 +459,7 @@
459 459  
460 460  **AT+TTRIG=1,30**  ~-~-> When the **Keep Status** change from connected to disconnect, and device remains in disconnect status for more than 30 seconds. CPN01 will send an uplink packet, the [[Alarm bit>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/#H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1.
461 461  
462 -**AT+TTRIG=0,0 ** ~-~-> Default Value, disable timeout Alarm.
463 +**AT+TTIG=0,0 ** ~-~-> Default Value, disable timeout Alarm.
463 463  
464 464  
465 465  == **2.8 Set debug mode** ==
... ... @@ -673,6 +673,7 @@
673 673  
674 674  **Notice, **CPN01 **and **CPL01 **share the same mother board. They use the same connection and method to update.**
675 675  
677 +
676 676  
677 677  = **6.  Trouble Shooting** =
678 678  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0