<
From version < 93.1 >
edited by Mengting Qiu
on 2024/05/31 12:00
To version < 92.1 >
edited by Mengting Qiu
on 2024/05/13 13:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -591,89 +591,15 @@
591 591  [[image:1675145081239-376.png]]
592 592  
593 593  
594 -== 2.6 Datalog Feature (Since V1.1) ==
594 +== 2.6 Frequency Plans ==
595 595  
596 -When a user wants to retrieve sensor value, he can send a poll command from the IoT platform to ask the sensor to send value in the required time slot.
597 597  
598 -
599 -
600 -=== 2.6.1 Unix TimeStamp ===
601 -
602 -CPL01 uses Unix TimeStamp format based on
603 -
604 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861618065-927.png?width=705&height=109&rev=1.1||alt="1652861618065-927.png" height="109" width="705"]]
605 -
606 -Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
607 -
608 -Below is the converter example:
609 -
610 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861637105-371.png?width=732&height=428&rev=1.1||alt="1652861637105-371.png"]]
611 -
612 -
613 -=== 2.6.2 Set Device Time ===
614 -
615 -There are two ways to set the device's time:
616 -
617 -
618 -(% style="color:blue" %)**1. Through LoRaWAN MAC Command (Default settings)**
619 -
620 -Users need to set SYNCMOD=1 to enable sync time via the MAC command.
621 -
622 -Once CPL01 Joined the LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to CPL01. If CPL01 fails to get the time from the server, CPL01 will use the internal time and wait for the next time request ~[[[via Device Status (FPORT=5)>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/#H2.3.1DeviceStatus2CFPORT3D5]]].
623 -
624 -
625 -(% style="color:red" %)**Note: LoRaWAN Server needs to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature.**
626 -
627 -
628 -(% style="color:blue" %)** 2. Manually Set Time**
629 -
630 -Users need to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
631 -
632 -
633 -=== 2.6.3 Poll sensor value ===
634 -
635 -Users can poll sensor values based on timestamps. Below is the downlink command.
636 -
637 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
638 -|=(% colspan="4" style="width: 154px;background-color:#4F81BD;color:white" %)**Downlink Command to poll Open/Close status (0x31)**
639 -|(% style="background-color:#f2f2f2; width:70px" %)**1byte**|(% style="background-color:#f2f2f2; width:140px" %)**4bytes**|(% style="background-color:#f2f2f2; width:140px" %)(((
640 -(((
641 -**4bytes**
642 -)))
643 -
644 -(((
645 -
646 -)))
647 -)))|(% style="background-color:#f2f2f2; width:150px" %)**1byte**
648 -|(% style="background-color:#f2f2f2; width:70px" %)31|(% style="background-color:#f2f2f2; width:140px" %)Timestamp start|(% style="background-color:#f2f2f2; width:140px" %)Timestamp end|(% style="background-color:#f2f2f2; width:150px" %)Uplink Interval
649 -
650 -
651 -Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
652 -
653 -For example, downlink command[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]]
654 -
655 -Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00's data
656 -
657 -Uplink Internal =5s,means CPL01 will send one packet every 5s. range 5~~255s.
658 -
659 -
660 -=== 2.6.4 Decoder in TTN V3 ===
661 -
662 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652862574387-195.png?width=722&height=359&rev=1.1||alt="1652862574387-195.png" height="359" width="722"]]
663 -
664 -Please check the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
665 -
666 -
667 -
668 -== 2.7 Frequency Plans ==
669 -
670 -
671 671  The PS-LB/LS uses OTAA mode and below frequency plans by default. Each frequency band use different firmware, user update the firmware to the corresponding band for their country.
672 672  
673 673  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
674 674  
675 675  
676 -== 2.8 ​Firmware Change Log ==
602 +== 2.7 ​Firmware Change Log ==
677 677  
678 678  
679 679  **Firmware download link:**
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0