Last modified by Mengting Qiu on 2025/07/03 18:55
From version 220.1
edited by Xiaoling
on 2024/12/12 11:41
on 2024/12/12 11:41
Change comment:
There is no comment for this version
To version 223.1
edited by Edwin Chen
on 2025/01/21 23:55
on 2025/01/21 23:55
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -168,7 +168,6 @@ 168 168 169 169 * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password> 170 170 171 - 172 172 ==== 3.3.2.2 Publish Data to ThingSpeak Channel ==== 173 173 174 174 ... ... @@ -210,7 +210,6 @@ 210 210 211 211 * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>** 212 212 213 - 214 214 ==== 3.3.3.2 Uplink Examples ==== 215 215 216 216 ... ... @@ -272,7 +272,6 @@ 272 272 |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod5|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)DS18B20 Temp|(% colspan="1" style="width:153px" %)adc0|(% colspan="1" style="width:151px" %)exit_state/input PA4|(% colspan="1" style="width:160px" %)Weight|(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %) 273 273 |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod6|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)count|(% colspan="1" style="width:153px" %) |(% colspan="1" style="width:151px" %) |(% colspan="1" style="width:160px" %) |(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %) 274 274 275 - 276 276 == 3.4 [[Datacake>>https://datacake.co/]] == 277 277 278 278 ... ... @@ -287,7 +287,6 @@ 287 287 288 288 * (% style="color:blue" %)**S31B-NB-GE**(%%): This verson doesn't have pre-configure Datacake connection. User need to enter the AT Commands to connect to Datacake. See below for instruction. 289 289 290 - 291 291 === 3.4.1 For device Already has template === 292 292 293 293 ==== 3.4.1.1 Create Device ==== ... ... @@ -458,7 +458,6 @@ 458 458 * (% style="color:#037691" %)**AT+UNAME=<device name> or User Defined** 459 459 * (% style="color:#037691" %)**AT+PWD=“Your device token”** 460 460 461 - 462 462 == 3.6 ThingsBoard.Cloud (via MQTT) == 463 463 464 464 === 3.6.1 Configure ThingsBoard === ... ... @@ -588,7 +588,8 @@ 588 588 ==== 3.7.1.3 Add COAP Integration ==== 589 589 590 590 591 -==== [[image:image-20240729161543-9.png||height="500" width="1009"]] ==== 586 +(% class="wikigeneratedid" id="H" %) 587 +[[image:image-20240729161543-9.png||height="500" width="1009"]] 592 592 593 593 594 594 === 3.7.2 Node Configuration(Example: Connecting to the Thingsboard platform) === ... ... @@ -786,7 +786,7 @@ 786 786 [[image:image-20241126184211-11.png||height="161" width="977"]] 787 787 788 788 789 -==== 3.11.1. 2Setup uplink and downlink converters ====785 +==== 3.11.1.3 Setup uplink and downlink converters ==== 790 790 791 791 792 792 First, you need to download the [[**MQTT uplink/downlink JS** **code**>>https://www.dropbox.com/scl/fo/d5s1wf36f4syv30a8laup/AK8FjVpNXYXCWodRnnQ1Hig?rlkey=jrz1ip0f0xwwq5z2m2gu1tuij&e=1&st=kl4caub0&dl=0]]. ... ... @@ -823,7 +823,7 @@ 823 823 [[image:image-20241126193252-25.png||height="663" width="803"]] 824 824 825 825 826 -=== 3. 6.3 Configure -NB node ===822 +=== 3.11.3 Configure -NB node === 827 827 828 828 829 829 First you need to configure the certificate to the -NB node. Follow the instructions in this **[[link>>https://wiki.dragino.com/xwiki/bin/view/Dragino%20NB%20device%20connection%20to%20AWS%20platform%20instructions/#H4.1.2Configurecertificate]]** to configure the certificate. ... ... @@ -832,8 +832,10 @@ 832 832 833 833 * Configuring the CA Certificate 834 834 835 -[[image:image-20241126192009-19.png||height="431" width="697"]] [[image:image-20241126192130-21.png||height="426" width="694"]]831 +[[image:image-20241126192009-19.png||height="431" width="697"]] 836 836 833 +[[image:image-20241126192130-21.png||height="426" width="694"]] 834 + 837 837 * Configure client certificate 838 838 839 839 [[image:image-20241126192246-22.png||height="397" width="693"]][[image:image-20241126192315-23.png||height="402" width="645"]] ... ... @@ -851,8 +851,8 @@ 851 851 852 852 * (% style="color:#037691" %)**AT+PRO=3,5 **(%%)** **~/~/ Use MQTT Connection & Json Payload 853 853 * (% style="color:#037691" %)**AT+SERVADDR=lns1.thingseye.io,8883** 854 -* (% style="color:#037691" %)**AT+SUBTOPIC=8899 **(%%)~/~/Consistent with the Topic of MQTT integration created by ThingsEye 855 -* (% style="color:#037691" %)**AT+PUBTOPIC=8899 **(%%)~/~/Consistent with the Topic of MQTT integration created by ThingsEye 852 +* (% style="color:#037691" %)**AT+SUBTOPIC=8899 **(%%)~/~/ Consistent with the Topic of MQTT integration created by ThingsEye 853 +* (% style="color:#037691" %)**AT+PUBTOPIC=8899 **(%%)~/~/ Consistent with the Topic of MQTT integration created by ThingsEye 856 856 * (% style="color:#037691" %)**AT+CLIENT=NULL** 857 857 * (% style="color:#037691" %)**AT+UNAME=NULL** 858 858 * (% style="color:#037691" %)**AT+PWD=NULL** ... ... @@ -938,7 +938,6 @@ 938 938 1*. **AT+TDC=7200** ~/~/ Uplink every 2 hours. 939 939 1*. this will mean each uplink will actually include the 6 uplink data (24 set data which cover 12 hours). So if device doesn't lost 6 continue data. There will not data lost. 940 940 941 - 942 942 == 5.2 Why the uplink JSON format is not standard? == 943 943 944 944 ... ... @@ -1093,16 +1093,45 @@ 1093 1093 [[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/]] 1094 1094 1095 1095 1096 -== (% data-sider-select-id="765eceff-93b1-40ee-800b-b7b7d022ef8a" %)6.6 How to obtaindevicelogs?(%%) ==1093 +== (% data-sider-select-id="765eceff-93b1-40ee-800b-b7b7d022ef8a" %)6.6 How to get the debug log for further analyze?(%%) == 1097 1097 1098 1098 1099 - ***ATCommand:AT** **+GETLOG**1096 +If user is not able to solve the connection issue, user can use below method and get the device log and send to Dragino (Support@dragino.cc) for further analyze. 1100 1100 1101 -This command can be used to query upstream logs of data packets. 1102 1102 1103 -[[image:image-20240701114700-1.png]] 1099 +(% class="lead" %) 1100 +Step1: Use Mobile Phone to connect device 1104 1104 1102 +See this link: **[[how to connect via Mobile Phone:>>https://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/#H3.1UseDraginoDeviceTooltoconfigureorupgradefirmware]]** 1105 1105 1104 + 1105 +(% class="lead" %) 1106 +Step2: Get Log by different commands. 1107 + 1108 +Use below three method to generate logs. 1109 + 1110 +* **AT+CFG ~-~-> Command to show the current configuration** 1111 +* **AT** **+GETLOG ~-~-> Command to get the previous upstream log** 1112 +* **press the toggle button for 1 ~~2 seconds ~-~-> Trigger a uplink** 1113 + 1114 + 1115 +Above are the output example for about three action: 1116 + 1117 +[[image:image-20250121235119-1.png||height="493" width="455"]] 1118 + 1119 +[[image:image-20240207002129-2.png]] 1120 + 1121 + 1122 +(% class="lead" %) 1123 +Step3: Export Log 1124 + 1125 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/BLE%20Bluetooth%20Remote%20Configure/WebHome/image-20241230155425-16.png?width=330&height=85&rev=1.1||alt="image-20241230155425-16.png" height="85" width="330"]] 1126 + 1127 +select the log you want to export, then click the share icon on the far right to enter the document that comes with your phone and choose to export it. 1128 + 1129 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/BLE%20Bluetooth%20Remote%20Configure/WebHome/image-20241230155528-17.png?width=327&height=324&rev=1.1||alt="image-20241230155528-17.png" height="324" width="327"]] 1130 + 1131 + 1106 1106 == 6.7 How to find the AT Command Password if lost? == 1107 1107 1108 1108 ... ... @@ -1120,7 +1120,6 @@ 1120 1120 * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)** **~/~/ Reset Parameters to Factory Default. 1121 1121 * (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)** **~/~/ Reset parameters to factory default values except for passwords.(new) 1122 1122 1123 - 1124 1124 === Version Confirmation === 1125 1125 1126 1126 ... ... @@ -1151,7 +1151,6 @@ 1151 1151 ))) 1152 1152 |(% style="width:210px" %)RS485-NB|(% style="width:150px" %)Before V1.0.8|(% style="width:150px" %)After V1.0.8 (including V1.0.8) 1153 1153 1154 - 1155 1155 === UART connection and firmware update methods === 1156 1156 1157 1157
- image-20250121235119-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +145.4 KB - Content