<
From version < 161.2 >
edited by Bei Jinggeng
on 2024/05/30 17:49
To version < 164.1 >
edited by Mengting Qiu
on 2024/05/31 09:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.ting
Content
... ... @@ -634,8 +634,14 @@
634 634  [[image:image-20230807233631-2.png]]
635 635  
636 636  
637 +== 3.9 AWS Connection ==
637 637  
638 638  
640 +Users can refer to [[Dragino NB device connection to AWS platform instructions>>http://wiki.dragino.com/xwiki/bin/view/Dragino%20NB%20device%20connection%20to%20AWS%20platform%20instructions/#H1.LogintotheplatformandfindIoTcore]]
641 +
642 +
643 +
644 +
639 639  = 4. MQTT/UDP/TCP downlink =
640 640  
641 641  == 4.1 MQTT (via MQTT.fx) ==
... ... @@ -795,11 +795,55 @@
795 795  
796 796  == (% data-sider-select-id="765eceff-93b1-40ee-800b-b7b7d022ef8a" %)6.5 What is the Downlink Command by the NB device?(%%) ==
797 797  
804 +(% data-sider-select-id="bb6e9353-0c3f-473c-938d-4b416c9a03e6" %)
805 +=== UDP: ===
798 798  
799 -NB devices use downlink commands in Json format.
807 +(% data-sider-select-id="14a4790e-7faa-4508-a4dd-7605a53f1cb3" %)
800 800  Its downlink command is the same as the AT command, but brackets are required.
801 801  Example:
802 802  
803 803  {AT+TDC=300}
804 804  
813 +
814 +(% data-sider-select-id="90b80f1a-e924-4c8a-afc5-4429e019a657" %)
815 +=== MQTT: ===
816 +
817 +Json:
818 +
819 +The Json format in MQTT mode needs to be configured with all commands.
820 +If you have configurations that need to be changed, please change them in the template below.
821 +Template:
822 +
823 +{
824 +"AT+SERVADDR":"119.91.62.30,1882",
825 +"AT+CLIENT":"JwcXKjQBNhQ2JykDDAA5Ahs",
826 +"AT+UNAME":"usenamedragino",
827 +"AT+PWD":"passworddragino",
828 +"AT+PUBTOPIC":"123",
829 +"AT+SUBTOPIC":"321",
830 +"AT+TDC":"7200",
831 +"AT+INTMOD":"0",
832 +"AT+APN":"NULL",
833 +"AT+5VT":"0",
834 +"AT+PRO":"3,5",
835 +"AT+TR":"900",
836 +"AT+NOUD":"0",
837 +"AT+CSQTIME":"5",
838 +"AT+DNSTIMER":"0",
839 +"AT+TLSMOD":"0,0",
840 +"AT+MQOS":"0",
841 +"AT+TEMPALARM1":"0",
842 +"AT+TEMPALARM2":"10",
843 +"AT+TEMPALARM3":"0"
844 +}
845 +
846 +Hex:
847 +
848 +MQTT's hex format. Since many commands need to support strings, only a few commands are supported.
849 +
850 +The supported commands are consistent with LoRaWAN's hex commands.
851 +Please refer to the following link to obtain the hex format:
852 +
853 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
854 +
805 805  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0