Last modified by Mengting Qiu on 2025/07/03 18:55
From version 164.1
edited by Mengting Qiu
on 2024/05/31 09:19
on 2024/05/31 09:19
Change comment:
There is no comment for this version
To version 161.2
edited by Bei Jinggeng
on 2024/05/30 17:49
on 2024/05/30 17:49
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Bei - Content
-
... ... @@ -634,14 +634,8 @@ 634 634 [[image:image-20230807233631-2.png]] 635 635 636 636 637 -== 3.9 AWS Connection == 638 638 639 639 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 - 645 645 = 4. MQTT/UDP/TCP downlink = 646 646 647 647 == 4.1 MQTT (via MQTT.fx) == ... ... @@ -801,55 +801,11 @@ 801 801 802 802 == (% data-sider-select-id="765eceff-93b1-40ee-800b-b7b7d022ef8a" %)6.5 What is the Downlink Command by the NB device?(%%) == 803 803 804 -(% data-sider-select-id="bb6e9353-0c3f-473c-938d-4b416c9a03e6" %) 805 -=== UDP: === 806 806 807 - (%data-sider-select-id="14a4790e-7faa-4508-a4dd-7605a53f1cb3"%)799 +NB devices use downlink commands in Json format. 808 808 Its downlink command is the same as the AT command, but brackets are required. 809 809 Example: 810 810 811 811 {AT+TDC=300} 812 812 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 - 855 855