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

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

Summary

Details

Page properties
Content
... ... @@ -553,61 +553,29 @@
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||height="379" width="762"]]
556 +[[image:1654936675588-151.png]]
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" %)​
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" %)​
559 559  
560 -The payload decoder function for TTN is here:
560 +(((
561 +The payload decoder function for TTN V3 is here:
562 +)))
561 561  
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 -
598 598  (((
599 -
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/]]
600 600  )))
568 +)))
601 601  
602 602  
603 603  
604 -== 2.5  Uplink Interval ==
572 +== 2.4  Uplink Interval ==
605 605  
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"]]
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"]]
607 607  
608 608  
609 609  
610 -== 2.6  ​Show Data in DataCake IoT Server ==
578 +== 2.5  ​Show Data in DataCake IoT Server ==
611 611  
612 612  (((
613 613  [[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:
... ... @@ -634,7 +634,7 @@
634 634  
635 635  (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
636 636  
637 -(% style="color:blue" %)**Step 4**(%%)**: Create LDDS04 product. **
605 +(% style="color:blue" %)**Step 4**(%%)**: Search the LDDS45 and add DevEUI.**
638 638  
639 639  (% 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" %)​
640 640