Last modified by Mengting Qiu on 2025/07/03 18:55

From version 161.1
edited by Edwin Chen
on 2024/05/13 22:35
Change comment: There is no comment for this version
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.Edwin
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) ==
... ... @@ -785,9 +785,65 @@
785 785  Make sure that the SIM card is insert in correct direction and device is power off/on during insert. Here is reference link: [[Insert SIM Card>>||anchor="H2.1GeneralConfiguretoattachnetwork"]].
786 786  
787 787  
788 -== 6.4 Why sometime the AT Command is slow in reponse? ==
794 +== (% data-sider-select-id="765eceff-93b1-40ee-800b-b7b7d022ef8a" %)6.4 Why sometime the AT Command is slow in reponse?(%%) ==
789 789  
790 790  
791 791  When the MCU is communicating with the NB-IoT module, the MCU response of AT Command will become slower, it might takes several seconds to response.
792 792  
793 793  [[image:image-20240226111928-1.png]]
800 +
801 +
802 +== (% data-sider-select-id="765eceff-93b1-40ee-800b-b7b7d022ef8a" %)6.5 What is the Downlink Command by the NB device?(%%) ==
803 +
804 +(% data-sider-select-id="bb6e9353-0c3f-473c-938d-4b416c9a03e6" %)
805 +=== UDP: ===
806 +
807 +(% data-sider-select-id="14a4790e-7faa-4508-a4dd-7605a53f1cb3" %)
808 +Its downlink command is the same as the AT command, but brackets are required.
809 +Example:
810 +
811 +{AT+TDC=300}
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 +