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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.David
Content
... ... @@ -185,7 +185,7 @@
185 185  
186 186  * **AT+PRO=1**   ~/~/ Set to use CoAP protocol to uplink
187 187  * **AT+SERVADDR=120.24.4.116,5683   ** ~/~/ Set CoAP server address and port
188 -* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** ~/~/Set CoAP resource path
188 +* **AT+URI=0,0,11,2,"mqtt" ** ~/~/Set CoAP resource path
189 189  
190 190  For parameter description, please refer to AT command set
191 191  
... ... @@ -227,7 +227,7 @@
227 227  
228 228  ​ [[image:image-20221021111058-12.png]]
229 229  
230 -[[image:image-20221021111108-13.png]]
230 +[[image:image-20221021111201-16.png||height="472" width="653"]]
231 231  
232 232  ​
233 233  
... ... @@ -260,15 +260,16 @@
260 260  
261 261  == **2.3  Uplink Payload** ==
262 262  
263 -The uplink payload includes 87 bytes in total by default.
263 +The uplink payload includes 123 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**|**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
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
269 269  
270 -|2|2|4|8 group
271 -|[[Soil Temperature>>path:#H2.4.6A0SoilTemperature]]|[[Soil P>>path:#H2.4.7A0SoilConductivity28EC29]]H|Time stamp|...
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" %)
272 272  
273 273  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the CPN01 uplink data.
274 274  
... ... @@ -299,9 +299,9 @@
299 299  
300 300  *(% style="color:#037691" %) **The last open duration:**(%%)0x02 =2
301 301  
302 -*(% style="color:#037691" %)** Time stamp :**(%%) 0x6315537b =1662342011 (Unix Time)
303 +*(% style="color:#037691" %)** Time stamp :**(%%) 0x6315537b =1662342011 (Unix Time)
303 303  
304 -*(% style="color:#037691" %) **Contact Status, Total pulse, Calculate Flag, The last open duration ,Time stamp :**(%%) 0100000b0200002663510fed
305 +*(% style="color:#037691" %) **Contact Status, Total pulse, Calculate Flag, The last open duration ,Time stamp :**(%%) 01  00000b  02  000026  63510fed
305 305  
306 306  *(% style="color:#037691" %) **8 sets of recorded data: Contact Status, Total pulse, Calculate Flag, The last open duration ,Time stamp :**(%%) 0100000e0200002663510f39,.......
307 307  
... ... @@ -429,12 +429,10 @@
429 429  
430 430  The CPN01 has an internal LED which is to show the status of different states.
431 431  
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.
433 +* When the device starts normally, the LED will light up for 1 second.
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 -
438 438  == **2.7  Alarm Base on Timeout** ==
439 439  
440 440  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:
... ... @@ -460,7 +460,7 @@
460 460  
461 461  **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.
462 462  
463 -**AT+TTIG=0,0 ** ~-~-> Default Value, disable timeout Alarm.
462 +**AT+TTRIG=0,0 ** ~-~-> Default Value, disable timeout Alarm.
464 464  
465 465  
466 466  == **2.8 Set debug mode** ==
... ... @@ -674,7 +674,6 @@
674 674  
675 675  **Notice, **CPN01 **and **CPL01 **share the same mother board. They use the same connection and method to update.**
676 676  
677 -
678 678  
679 679  = **6.  Trouble Shooting** =
680 680  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0