Changes for page CPN01- NB-IoT Outdoor Open/Close Dry Contact Sensor User Manual
Last modified by Mengting Qiu on 2024/04/02 16:56
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -CPN01 -NB-IoT Outdoor Open/Close Dry Contact Sensor User Manual1 +CPN01- NB-IoT Outdoor Open/Close Dry Contact Sensor User Manual - Content
-
... ... @@ -1,18 +3,10 @@ 1 - 2 - 3 3 (% style="text-align:center" %) 4 4 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652856952171-363.png?rev=1.1||alt="1652856952171-363.png" height="578" width="588"]] 5 5 6 6 7 7 6 +**Table of Contents:** 8 8 9 - 10 - 11 - 12 - 13 - 14 -**Table of Contents :** 15 - 16 16 {{toc/}} 17 17 18 18 ... ... @@ -330,12 +330,12 @@ 330 330 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. 331 331 332 332 333 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:520px" %)334 -|(% style="background-color:# d9e2f3;#0070c0; width:60px" %)**Size(bytes)**|(% style="background-color:#d9e2f3;#0070c0; width:40px" %)**8**|(% style="background-color:#d9e2f3;#0070c0; width:25px" %)**2**|(% style="background-color:#d9e2f3;#0070c0; width:25px" %)**2**|(% style="background-color:#d9e2f3;#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:30px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:40px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:60px" %)**3**335 -|(% style="width:96px" %) **Value**|(% style="width:84px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:40px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:44px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:121px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:52px" %)MOD|(% style="width:84px" %)[[ Calculate Flag>>||anchor="H2.4.5A0CalculateFlag"]]|(% style="width:116px" %)[[Contact Status>>||anchor="H2.4.7A0ContactStatus"]]|(% style="width:57px" %)[[Alarm>>||anchor="H2.4.6A0Alarm"]]|(% style="width:91px" %)[[Total pulse>>||anchor="H2.4.8A0Totalpulse"]]325 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 326 +|(% style="background-color:#4F81BD;color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4F81BD;color:white; width:40px" %)**8**|(% style="background-color:#4F81BD;color:white; width:25px" %)**2**|(% style="background-color:#4F81BD;color:white; width:25px" %)**2**|(% style="background-color:#4F81BD;color:white; width:79px" %)**1**|(% style="background-color:#4F81BD;color:white; width:30px" %)**1**|(% style="background-color:#4F81BD;color:white; width:79px" %)**1**|(% style="background-color:#4F81BD;color:white; width:79px" %)**1**|(% style="background-color:#4F81BD;color:white; width:39px" %)**1**|(% style="background-color:#4F81BD;color:white; width:59px" %)**3** 327 +|(% style="width:96px" %)Value|(% style="width:84px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:40px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:44px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:121px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:52px" %)MOD|(% style="width:84px" %)[[ Calculate Flag>>||anchor="H2.4.5A0CalculateFlag"]]|(% style="width:116px" %)[[Contact Status>>||anchor="H2.4.7A0ContactStatus"]]|(% style="width:57px" %)[[Alarm>>||anchor="H2.4.6A0Alarm"]]|(% style="width:91px" %)[[Total pulse>>||anchor="H2.4.8A0Totalpulse"]] 336 336 337 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:500px" %)338 -|(% style="background-color:# d9e2f3;#0070c0; width:100px" %)**3**|(% style="background-color:#d9e2f3;#0070c0; width:50px" %)**4**|(% style="background-color:#d9e2f3;#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:50px" %)**3**|(% style="background-color:#d9e2f3;#0070c0; width:100px" %)**3**|(% style="background-color:#d9e2f3;#0070c0; width:80px" %)**4**|(% style="background-color:#d9e2f3;#0070c0; width:50px" %)**8group**329 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 330 +|(% style="background-color:#4F81BD;color:white; width:100px" %)**3**|(% style="background-color:#4F81BD;color:white; width:50px" %)**4**|(% style="background-color:#4F81BD;color:white; width:70px" %)**1**|(% style="background-color:#4F81BD;color:white; width:50px" %)**3**|(% style="background-color:#4F81BD;color:white; width:100px" %)**3**|(% style="background-color:#4F81BD;color:white; width:80px" %)**4**|(% style="background-color:#4F81BD;color:white; width:50px" %)**8group** 339 339 |(% style="width:176px" %)[[The last open duration>>||anchor="H2.4.9A0Thelastopenduration"]]|(% style="width:98px" %)[[Time stamp>>||anchor="H2.4.10A0Timestamp"]]|(% style="width:115px" %)Contact Status|(% style="width:92px" %)Total pulse|(% style="width:169px" %)The last open duration|(% style="width:97px" %)Time stamp|(% style="width:74px" %)... 340 340 341 341 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the CPN01 uplink data. ... ... @@ -345,7 +345,7 @@ 345 345 346 346 The payload is ASCII string, representative same HEX: 347 347 348 -**0x (% style="color:red" %)__f867787050213317__ (% style="color:blue" %)__0064__ (% style="color:green" %) __0c78__(% style="color:#00b0f0" %) __17__(% style="color:#7030a0" %) __01__(% style="color:#0020b0" %) __00__ (% style="color:#420042" %)__00__ (% style="color:#660066" %)__00__ (% style="color:#aaaa40" %)__000009__(% style="color:#663300" %) __000002__ (% style="color:#d60093" %)__6315537b__ (% style="color:#660066" %)__01 00000b 0000026 63510fed__ (%%)__0100000e00000263510f39__ __0100000000000063510e85__ __0100000000000063510d2e__ __0100000000000063510c7a__ __0100000000000063510bc6__ __0100000000000063510954__ __0100000000000063510882 __** 340 +**0x (% style="color:red" %)__f867787050213317__ (% style="color:blue" %)__0064__ (% style="color:green" %) __0c78__(% style="color:#00b0f0" %) __17__(% style="color:#7030a0" %) __01__(% style="color:#0020b0" %) __00__ (% style="color:#420042" %)__00__ (% style="color:#660066" %)__00__ (% style="color:#aaaa40" %)__000009__(% style="color:#663300" %) __000002__ (% style="color:#d60093" %)__6315537b__ (% style="color:#660066" %)__01 00000b 02 0000026 63510fed__ (%%)__0100000e0200000263510f39__ __010000000000000063510e85__ __010000000000000063510d2e__ __010000000000000063510c7a__ __010000000000000063510bc6__ __010000000000000063510954__ __010000000000000063510882 __** 349 349 350 350 **where:** 351 351 ... ... @@ -486,8 +486,8 @@ 486 486 487 487 By default, CPN01 prints the downlink payload to console port. 488 488 489 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:505px" %)490 -|(% style="background-color:# d9e2f3;#0070c0; width:207px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3;#0070c0; width:56px" %)**FPort**|(% style="background-color:#d9e2f3;#0070c0; width:93px" %)**Type Code**|(% style="background-color:#d9e2f3;#0070c0; width:149px" %)**Downlink payload size(bytes)**481 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:505px" %) 482 +|(% style="background-color:#4F81BD;color:white; width:207px" %)**Downlink Control Type**|(% style="background-color:#4F81BD;color:white; width:56px" %)**FPort**|(% style="background-color:#4F81BD;color:white; width:93px" %)**Type Code**|(% style="background-color:#4F81BD;color:white; width:149px" %)**Downlink payload size(bytes)** 491 491 |(% style="width:207px" %)TDC(Transmit Time Interval)|(% style="width:56px" %)Any|(% style="width:93px" %)01|(% style="width:144px" %)4 492 492 |(% style="width:207px" %)RESET|(% style="width:56px" %)Any|(% style="width:93px" %)04|(% style="width:144px" %)2 493 493 |(% style="width:207px" %)INTMOD|(% style="width:56px" %)Any|(% style="width:93px" %)06|(% style="width:144px" %)4 ... ... @@ -557,8 +557,9 @@ 557 557 558 558 (% style="color:blue" %)**AT Command: AT+DEBUG** 559 559 560 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:430px" %) 561 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:196px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:76px" %)**Response** 552 + 553 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:430px" %) 554 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:196px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:76px" %)**Response** 562 562 |(% style="width:158px" %)AT+DEBUG=0|(% style="width:196px" %)Disable debug mode to 0|(% style="width:74px" %)OK 563 563 |(% style="width:158px" %)AT+DEBUG=1|(% style="width:196px" %)Enable debug mode to 1|(% style="width:74px" %)OK 564 564 ... ... @@ -570,8 +570,9 @@ 570 570 571 571 (% style="color:blue" %)**AT Command: AT+CLRDTA** 572 572 573 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:498px" %) 574 -|(% style="background-color:#d9e2f3; color:#0070c0; width:159px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:170px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:169px" %)**Response** 566 + 567 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:498px" %) 568 +|(% style="background-color:#4F81BD;color:white; width:159px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:170px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:169px" %)**Response** 575 575 |(% style="width:158px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|(% style="width:167px" %)((( 576 576 Clear all stored sensor data…OK 577 577 ))) ... ... @@ -584,8 +584,8 @@ 584 584 585 585 Feature: Set the trigger interrupt mode. 586 586 587 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:472px" %)588 -|(% style="background-color:# d9e2f3;#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3;#0070c0; width:225px" %)**Function**|(% style="background-color:#d9e2f3;#0070c0; width:89px" %)**Response**581 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:472px" %) 582 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:225px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:89px" %)**Response** 589 589 |(% style="width:158px" %)AT+TTRMOD=1|(% style="width:225px" %)Count and trigger from open to close (rising edge)|(% style="width:88px" %)OK 590 590 |(% style="width:158px" %)AT+TTRMOD=0|(% style="width:225px" %)Count and trigger from close to open (falling edge)|(% style="width:88px" %)OK 591 591 ... ... @@ -597,8 +597,9 @@ 597 597 598 598 (% style="color:blue" %)**AT Command: AT+CALCFLAG** 599 599 600 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:430px" %) 601 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:197px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**Response** 594 + 595 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:430px" %) 596 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:197px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:75px" %)**Response** 602 602 |(% style="width:158px" %)AT+CALCFLAG=1|(% style="width:196px" %)Set the calculate flag to 1|(% style="width:74px" %)OK 603 603 |(% style="width:158px" %)AT+CALCFLAG=2|(% style="width:196px" %)Set the calculate flag to 2|(% style="width:74px" %)OK 604 604 ... ... @@ -611,8 +611,8 @@ 611 611 (% style="color:blue" %)**AT Command: AT+SETCNT** 612 612 613 613 614 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:459px" %)615 -|(% style="background-color:# d9e2f3;#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3;#0070c0; width:239px" %)**Function**|(% style="background-color:#d9e2f3;#0070c0; width:62px" %)**Response**609 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:459px" %) 610 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:239px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:62px" %)**Response** 616 616 |(% style="width:158px" %)AT+SETCNT=0|(% style="width:239px" %)Set the count number to 0|(% style="width:85px" %)OK 617 617 |(% style="width:158px" %)AT+SETCNT=100|(% style="width:239px" %)Set the count number to 100|(% style="width:85px" %)OK 618 618