Last modified by Xiaoling on 2025/04/24 17:18

From version 218.2
edited by Xiaoling
on 2022/06/11 16:38
Change comment: There is no comment for this version
To version 228.3
edited by Xiaoling
on 2022/06/11 16:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -553,29 +553,61 @@
553 553  
554 554  While using TTN network, you can add the payload format to decode the payload.
555 555  
556 -[[image:1654936675588-151.png]]
556 +[[image:1654936675588-151.png||height="379" width="762"]]
557 557  
558 -(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​
558 +(% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
559 559  
560 -(((
561 -The payload decoder function for TTN V3 is here:
562 -)))
560 +The payload decoder function for TTN is here:
563 563  
562 +LDDS04 TTN Payload Decoder: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDDS04/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Decoder/]]
563 +
564 +
565 +**//function Decoder(bytes, port) {//**
566 +
567 +**// var decode = {};//**
568 +
569 +**// var value=(bytes[0]<<8 | bytes[1]) & 0x3FFF;//**
570 +
571 +**// decode.BatV= value/1000;//**
572 +
573 +**// decode.EXTI_Trigger=(bytes[0] & 0x80)? "TRUE":"FALSE";//**
574 +
575 +**// decode.distance1_cm=(bytes[2]<<8 | bytes[3])/10;//**
576 +
577 +**// decode.distance2_cm=(bytes[4]<<8 | bytes[5])/10;//**
578 +
579 +**// decode.distance3_cm=(bytes[6]<<8 | bytes[7])/10//**
580 +
581 +**// decode.distance4_cm=(bytes[8]<<8 | bytes[9])/10;//**
582 +
583 +**// decode.mes_type= bytes[10];//**
584 +
585 +
586 +**// if(!((bytes[0]==0x03)&&(bytes[10]==0x02~)~)~)//**
587 +
588 +**// {//**
589 +
590 +**// return decode;//**
591 +
592 +**// }//**
593 +
594 +**//}//**
595 +
596 +(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​
597 +
564 564  (((
565 -(((
566 -LDDS45 TTN V3 Payload Decoder: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDDS75/Payload_Decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Payload_Decoder/]]
599 +
567 567  )))
568 -)))
569 569  
570 570  
571 571  
572 -== 2.4  Uplink Interval ==
604 +== 2.5  Uplink Interval ==
573 573  
574 -The LDDS45 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]
606 +The LDDS04 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]
575 575  
576 576  
577 577  
578 -== 2.5  ​Show Data in DataCake IoT Server ==
610 +== 2.6  ​Show Data in DataCake IoT Server ==
579 579  
580 580  (((
581 581  [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
... ... @@ -602,19 +602,47 @@
602 602  
603 603  (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
604 604  
605 -(% style="color:blue" %)**Step 4**(%%)**: Search the LDDS45 and add DevEUI.**
637 +(% style="color:blue" %)**Step 4**(%%)**: Create LDDS04 product. **
606 606  
607 -(% aria-label="1654851029373-510.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654851029373-510.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​
608 608  
609 609  
610 -After added, the sensor data arrive TTN V3, it will also arrive and show in Datacake.
641 +[[image:image-20220611164604-7.png]]
611 611  
612 -(% aria-label="image-20220610165129-11.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220610165129-11.png||data-widget="image" height="595" width="1088"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​
613 613  
614 614  
645 +[[image:image-20220611164604-8.png]]
615 615  
616 -== 2.6  Frequency Plans ==
617 617  
648 +[[image:image-20220611164604-9.png]]
649 +
650 +
651 +Step 5: add payload decode
652 +
653 +
654 +[[image:image-20220611164604-10.png]]
655 +
656 +[[image:image-20220611164604-11.png]]
657 +
658 +[[image:image-20220611164604-12.png]]
659 +
660 +After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
661 +
662 +[[image:image-20220611164604-13.png]]
663 +
664 +[[image:image-20220611164604-14.png]]
665 +
666 +
667 +
668 +
669 +[[image:image-20220611164604-15.png]]
670 +
671 +
672 +[[image:image-20220611164604-16.png||height="409" width="833"]]
673 +
674 +
675 +
676 +== 2.7  Frequency Plans ==
677 +
618 618  (((
619 619  The LDDS45 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
620 620  )))
image-20220611164604-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +49.5 KB
Content
image-20220611164604-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +62.1 KB
Content
image-20220611164604-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +60.9 KB
Content
image-20220611164604-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +45.1 KB
Content
image-20220611164604-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +68.8 KB
Content
image-20220611164604-15.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +51.3 KB
Content
image-20220611164604-16.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +80.6 KB
Content
image-20220611164604-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +81.1 KB
Content
image-20220611164604-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +77.1 KB
Content
image-20220611164604-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +65.0 KB
Content