Show last authors
1
2
3 (% style="text-align:center" %)
4 [[image:image-20231024134617-1.png||height="512" width="408"]]
5
6
7
8
9
10
11 **Table of Contents:**
12
13 {{toc/}}
14
15
16
17
18
19
20 = 1. Introduction =
21
22 == 1.1 What is NB-IoT/LTE-M Tilting Sensor ==
23
24
25 The Dragino TS01-CB is a (% style="color:blue" %)**NB-IoT/LTE-M Tilting Sensor**(%%) for Internet of Things solution. TS01-CB is an outdoor Tilting Sensor specially designed for (% style="color:blue" %)**detecting the angle of trees, buildings or large scale equipment**.
26
27 TS01-CB measures pitch and roll angle and converts to NB-IoT wireless data and sends to IoT platform via NB-IoT/CAT-M1 network.
28
29 TS01-CB supports different uplink methods including (% style="color:blue" %)**MQTT, MQTTs, UDP , TCP or CoAP **(%%)for different application requirement, and support uplinks to various IoT Servers.
30
31 TS01-CB (% style="color:blue" %)**supports BLE configure **(%%)and(% style="color:blue" %)** OTA update**(%%) which make user easy to use.
32
33 TS01-CB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to several years.
34
35 TS01-CB has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration.
36
37
38 == 1.2 ​Features ==
39
40
41 * For -NB Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85
42 * For -CB Bands: B1/B2/B3/B4/B5/B8/B12/B13~/~/B18/B19/B20/B25/B28/B66/B71/B85
43 * CAT-M1 / LTE-M Bands: B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B27/B28/B66/B85
44 * Ultra-low power consumption
45 * Detect pitch and roll angle
46 * Support Angle Alarm
47 * Support Datalog feature
48 * Multiply Sampling and one uplink
49 * GNSS for Location Report
50 * Support BLE remote configure and update firmware
51 * Uplink on periodically
52 * Downlink to change configure
53 * 8500mAh Battery for long term use
54 * Uplink via MQTT, MQTTs, TCP, UDP or CoAP
55 * Nano SIM card slot for NB-IoT SIM
56
57 == 1.3 Specification ==
58
59
60 (% style="color:blue" %)**Common DC Characteristics:**
61
62 * Supply Voltage: 2.6v ~~ 3.6v
63 * Operating Temperature: -40 ~~ 85°C
64
65 (% style="color:blue" %)**Angle Spec:**
66
67 * Measure Pitch and Roll
68 * Accuracy: 0.3°C
69
70 (% style="color:blue" %)**NB-IoT Spec:**
71
72 (% style="color:#037691" %)**NB-IoT Module: BG95-NGFF**
73
74 (% style="color:#037691" %)**Support Bands:**
75
76 * B1 @H-FDD: 2100MHz
77 * B2 @H-FDD: 1900MHz
78 * B3 @H-FDD: 1800MHz
79 * B4 @H-FDD: 2100MHz
80 * B5 @H-FDD: 860MHz
81 * B8 @H-FDD: 900MHz
82 * B12 @H-FDD: 720MHz
83 * B13 @H-FDD: 740MHz
84 * B17 @H-FDD: 730MHz
85 * B18 @H-FDD: 870MHz
86 * B19 @H-FDD: 870MHz
87 * B20 @H-FDD: 790MHz
88 * B25 @H-FDD: 1900MHz
89 * B28 @H-FDD: 750MHz
90 * B66 @H-FDD: 2000MHz
91 * B70 @H-FDD: 2000MHz
92 * B85 @H-FDD: 700MHz
93
94 (% style="color:blue" %)**Battery:**
95
96 * Li/SOCI2 un-chargeable battery
97 * Capacity: 8500mAh
98 * Self Discharge: <1% / Year @ 25°C
99 * Max continuously current: 130mA
100 * Max boost current: 2A, 1 second
101
102 (% style="color:blue" %)**Power Consumption**
103
104 * STOP Mode: 10uA @ 3.3v
105 * Max transmit power: 350mA@3.3v
106
107 == 1.4 Sleep mode and working mode ==
108
109
110 (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any NB-IoT activate. This mode is used for storage and shipping to save battery life.
111
112 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as NB-IoT Sensor to Join NB-IoT network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
113
114
115 == 1.5 Button & LEDs ==
116
117
118 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]]
119
120
121 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
122 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width:226px;background-color:#4F81BD;color:white" %)**Action**
123 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
124 If sensor has already attached to NB-IoT network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
125 Meanwhile, BLE module will be active and user can connect via BLE to configure device.
126 )))
127 |(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
128 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to attach NB-IoT network.
129 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
130 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device attach NB-IoT network or not.
131 )))
132 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
133
134 (% style="color:red" %)**Note: When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.**
135
136
137 == 1.6 BLE connection ==
138
139
140 TS01-CB support BLE remote configure and firmware update.
141
142
143 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
144
145 * Press button to send an uplink
146 * Press button to active device.
147 * Device Power on or reset.
148
149 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
150
151
152 == 1.7 Pin Definitions , Switch & SIM Direction ==
153
154
155 TS01-CB use the mother board which as below.
156
157 [[image:image-20240716143222-1.png]]
158
159
160 === 1.7.1 Jumper JP2 ===
161
162
163 Power on Device when put this jumper.
164
165
166 === 1.7.2 BOOT MODE / SW1 ===
167
168
169 **1)** (% style="color:blue" %)**ISP**(%%): upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
170
171 **2)** (% style="color:blue" %)**Flash**(%%): work mode, device starts to work and send out console output for further debug
172
173
174 === 1.7.3 Reset Button ===
175
176
177 Press to reboot the device.
178
179
180 === 1.7.4 SIM Card Direction ===
181
182
183 See this link. [[How to insert SIM Card>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
184
185
186 == 1.8 Sketch of Pitch and Roll ==
187
188
189 [[image:image-20231025105743-1.png]]
190
191
192 == 1.9 Installation direction ==
193
194
195 (% style="color:blue" %)**Horizontal installation:**
196
197 [[image:image-20231025105808-2.png]]
198
199 (% style="color:blue" %)**Vertical installation:**
200
201 [[image:image-20231025105857-3.png]]
202
203
204 = 2. Use TS01-CB to communicate with IoT Server =
205
206 == 2.1 Send data to IoT server via NB-IoT network ==
207
208
209 The TS01-CB is equipped with a NB-IoT module, the pre-loaded firmware in TS01-CB will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by TS01-CB.
210
211
212 Below shows the network structure:
213
214 [[image:image-20240720155858-1.jpeg]]
215
216
217 There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1T**(%%) version of TS01-CB.
218
219
220 (% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set TS01-CB send data to IoT server.
221
222 * Install NB-IoT SIM card and configure APN. See instruction of [[Attach Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
223
224 * Set up sensor to point to IoT Server. See instruction of [[Configure to Connect Different Servers>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.Configuretoconnecttodifferentservers]]. 
225
226 Below shows result of different server as a glance.
227
228 (% border="1" cellspacing="4" style="width:515px" %)
229 |(% style="background-color:#4f81bd; color:white; width:100px" %)**Servers**|(% style="background-color:#4f81bd; color:white; width:300px" %)**Dash Board**|(% style="background-color:#4f81bd; color:white; width:115px" %)**Comments**
230 |(% style="width:127px" %)[[Node-Red>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.5A0Node-RedA028viaA0MQTT29]]|(% style="width:385px" %)(((
231 (% style="text-align:center" %)
232 [[image:image-20230819113244-8.png||height="183" width="367"]]
233 )))|(% style="width:170px" %)
234 |(% style="width:127px" %)[[DataCake>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]]|(% style="width:385px" %)(((
235 (% style="text-align:center" %)
236 [[image:image-20230819113244-9.png||height="119" width="367"]]
237 )))|(% style="width:170px" %)
238 |(% style="width:127px" %)[[Tago.IO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.7A0Tago.ioA028viaA0MQTT29]]|(% style="width:385px" %) |(% style="width:170px" %)
239 |(% style="width:127px" %)[[General UDP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.1GeneralA0UDPA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
240 |(% style="width:127px" %)[[General MQTT>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.2GeneralA0MQTTA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
241 |(% style="width:127px" %)[[ThingSpeak>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.3A0ThingSpeakA028viaA0MQTT29]]|(% style="width:385px" %)(((
242 (% style="text-align:center" %)
243 [[image:image-20230819113244-10.png||height="104" width="367"]]
244 )))|(% style="width:170px" %)
245 |(% style="width:127px" %)[[ThingsBoard>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.6A0ThingsBoard.CloudA028viaA0MQTT29]]|(% style="width:385px" %)(((
246 (% style="text-align:center" %)
247 [[image:image-20230819113244-11.png||height="141" width="367"]]
248 )))|(% style="width:170px" %)
249
250 (% style="color:blue" %)**1T Version**(%%): This version has 1NCE SIM card pre-installed and configure to send value to ThingsEye. User Just need to select the sensor type in ThingsEyeand Activate TS01-CB and user will be able to see data in ThingsEye. See here for [[ThingsEye Config Instruction>>url:https://wiki.thingseye.io/xwiki/bin/view/Main/]].
251
252
253 == 2.2 ​Payload Types ==
254
255
256 To meet different server requirement, TS01-CB supports different payload type.
257
258 **Includes:**
259
260 * [[General JSON format payload>>||anchor="H2.2.1GeneralJsonFormat28Type3D529"]]. (Type=5)
261
262 * [[HEX format Payload>>||anchor="H2.2.2HEXformatPayload28Type3D029"]]. (Type=0)
263
264 * [[ThingSpeak Format>>||anchor="H2.2.4ThingSpeakPayload28Type3D129"]]. (Type=1)
265
266 * [[ThingsBoard Format>>||anchor="H2.2.3ThingsBoardPayload28Type3D329"]]. (Type=3)
267
268 User can specify the payload type when choose the connection protocol. Example:
269
270 (% style="color:#037691" %)**AT+PRO=2,0**  (%%) ~/~/ Use UDP Connection & hex Payload
271
272 (% style="color:#037691" %)**AT+PRO=2,5**   (%%) ~/~/ Use UDP Connection & Json Payload
273
274 (% style="color:#037691" %)**AT+PRO=3,0**  (%%) ~/~/ Use MQTT Connection & hex Payload
275
276 (% style="color:#037691" %)**AT+PRO=3,1           **(%%)~/~/ Use MQTT Connection & ThingSpeak
277
278 (% style="color:#037691" %)**AT+PRO=3,3           **(%%)~/~/ Use MQTT Connection & ThingsBoard
279
280 (% style="color:#037691" %)**AT+PRO=3,5 ** (%%) ~/~/ Use MQTT Connection & Json Payload
281
282 (% style="color:#037691" %)**AT+PRO=4,0**  (%%) ~/~/ Use TCP Connection & hex Payload
283
284 (% style="color:#037691" %)**AT+PRO=4,5**   (%%) ~/~/ Use TCP Connection & Json Payload
285
286
287 === 2.2.1 General Json Format(Type~=5) ===
288
289
290 This is the General Json Format. As below:
291
292 (% style="color:#4472c4" %)**{"IMEI":"862406079145617","IMSI":"454312901015182","Model":"TS01-CB","temperature":21.9,"roll":71.03,"pitch":14.88,"interrupt":0,"interrupt_level":0,"battery":3.15,"signal":19,"time":"2024-12-19T02:33:34Z","latitude":0.000000,"longitude":0.000000,"gps_time":"1970-01-01T00:00:00Z","1":[409.5,0.00,0.00,"2024-12-19T02:09:12Z"],"2":[0.0,1.41,0.00,"2024-12-19T01:11:40Z"],"3":[0.0,1.41,0.00,"2024-12-19T00:56:40Z"],"4":[0.0,1.41,0.00,"2024-12-19T00:41:40Z"],"5":[0.0,1.41,0.00,"2024-12-19T00:26:40Z"],"6":[0.0,1.41,0.00,"2024-12-19T00:11:40Z"],"7":[0.0,1.41,0.00,"2024-12-18T23:56:40Z"],"8":[0.0,1.41,0.00,"2024-12-18T23:41:40Z"]}**
293
294 [[image:image-20250102104928-1.png]]
295
296 (% style="color:red" %)**Notice, from above payload:**
297
298 * Temperature, Roll, Pitch, Interrupt, Interrupt_level, Battery,  Signal, time, Latitude, Longitude & GPS_Time are the value at uplink time.
299
300 * Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+CLOCKLOG=1,65535,15,8 ** (%%)Command. Each entry includes (from left to right): Temperature, Roll, Pitch, Sampling time.
301
302 === 2.2.2 HEX format Payload(Type~=0) ===
303
304
305 This is the HEX Format. As below:
306
307 (% style="color:#4472c4" %)**f862406079145617f454312901015182026e0c8d19010000000000df1caa0900676386a900000000000000000000000000db23640ca36763862c0fff0000000067638048000001000000676372cc00000100000067636f4800000100000067636bc400000100000067636840000001000000676364bc00000100000067636138**
308
309 [[image:image-20241226100308-1.png||height="276" width="1794"]]
310
311
312 [[image:image-20250102105007-2.png]]
313
314 (% style="color:blue" %)**Version:**
315
316 These bytes include the hardware and software version.
317
318 (% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x02 for TS01-CB
319
320 (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x6e=110, means firmware version 1.1.0
321
322
323 (% style="color:blue" %)**BAT (Battery Info):**
324
325 Sensor Battery Level.
326
327 Ex1: 0x0b45 = 2885mV
328
329 Ex2: 0x0dce = 3534mV
330
331
332 (% style="color:blue" %)**Direction:**
333
334 Read:0x(00)=0 (% style="color:#037691" %)  (%%) ~/~/  horizontal direction
335
336 Read:0x(01)=1  (% style="color:#037691" %)   (%%) ~/~/  Vertical direction
337
338
339 (% style="color:blue" %)**Alarm:**
340
341 payload: 0x00  **~-~->** Alarm packet
342
343 payload: 0x01  **~-~->** Normal packet
344
345
346 (% style="color:blue" %)**Level of PA4:**
347
348 payload: 0x00  **~-~->** The PA4 is low level.
349
350 payload: 0x01  **~-~->** The PA4 is high level.
351
352
353 (% style="color:blue" %)**Interrupt:**
354
355 This data field shows if this packet is generated by interrupt or not.
356
357 **Example:**
358
359 If byte[0]&0x01=0x00 : Normal uplink packet.
360
361 If byte[0]&0x01=0x01 : Interrupt Uplink Packet.
362
363
364 (% style="color:blue" %)**Interrupt_level:**
365
366 This byte shows whether the interrupt is triggered by a high or low level.
367
368 **Ex1:** 0x00  Interrupt triggered by falling edge (low level)
369
370 **Ex2: **0x01  Interrupt triggered by rising edge (high level)
371
372
373 (% style="color:blue" %)**DS18B20 Temperature:**
374
375 **Example**:
376
377 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
378
379 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
380
381 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
382
383 If payload is: FFFF(H): (FFFF & 8000 == 1), Fixed display temp = -409.5℃, Indicates that there is no temperature data at this point in time or the built-in temperature chip does not detect the temperature or exceeds the detection range.
384
385
386 (% style="color:blue" %)**Roll:**
387
388 Read:0x(019C)=412    Value:  412 / 100=4.12
389
390
391 (% style="color:blue" %)**Pitch:**
392
393 Read:0x(0251)=593  Value:  593/ 100=5.93
394
395
396 (% style="color:blue" %)**Latitude:**
397
398 **Example: **0x015a7886(H)=22706310(D)=22.706150
399
400
401 (% style="color:blue" %)**Longitude:**
402
403 **Example: **0x06cf341e(H)=114242590(D)=114.242830
404
405
406 (% style="color:blue" %)**TimeStamp/GPS_Timestamp:   **
407
408 Unit TimeStamp Example: 64e2d74f(H) = 1692587855(D)
409
410 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time.
411
412
413 === 2.2.3 ThingsBoard Payload(Type~=3) ===
414
415
416 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
417
418 (% style="color:#4472c4" %)**{
419 "topic": "002_CB",
420 "payload": {
421 "IMEI": "862406079145617",
422 "IMSI": "454312901015182",
423 "Model": "TS01-CB",
424 "temperature": 21.6,
425 "roll": 30.01,
426 "pitch": 2.91,
427 "interrupt": 0,
428 "interrupt_level": 0,
429 "battery": 3.17,
430 "signal": 23,
431 "time": "2024-12-19T06:52:56Z",
432 "latitude": 0.0,
433 "longitude": 0.0,
434 "gps_time": "1970-01-01T00:00:00Z",
435 "1": [21.5, -0.41, 0.1, "2024-12-19T05:49:26Z"],
436 "2": [20.5, -0.25, 0.02, "2024-12-19T05:34:26Z"],
437 "3": [20.5, -0.31, 0.02, "2024-12-19T05:19:26Z"],
438 "4": [20.7, -0.32, 0.01, "2024-12-19T05:04:26Z"],
439 "5": [20.8, -0.32, -0.03, "2024-12-19T04:49:26Z"],
440 "6": [21.1, -0.33, -0.02, "2024-12-19T04:34:26Z"],
441 "7": [21.3, -0.27, -0.02, "2024-12-19T04:19:26Z"],
442 "8": [21.7, -0.27, -0.02, "2024-12-19T04:04:26Z"]
443 }
444 }**
445
446 [[image:image-20250102105124-3.png||height="572" width="1269"]]
447
448
449 === 2.2.4 ThingSpeak Payload(Type~=1) ===
450
451
452 This payload meets ThingSpeak platform requirement. It includes only five fields. Form 1~~5 are:
453
454 Temperature, Roll, Pitch, Battery & Signal. This payload type only valid for ThingsSpeak Platform
455
456 As below:
457
458 (% style="color:blue" %)**field1=Temperature value&field2=Roll value&field3=Pitch value&field4=Battery value&field5=Signal value**
459
460 [[image:image-20240709152047-5.png||height="568" width="853"]]
461
462 [[image:image-20240709152102-6.png||height="589" width="856"]]
463
464
465 = 3. Configure TS01-CB =
466
467 == 3.1 Configure Methods ==
468
469
470 TS01-CB supports below configure method:
471
472 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
473
474 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
475
476 == 3.2  Serial Access Password ==
477
478
479 After the Bluetooth or UART connection is successful, use the Serial Access Password to enter the AT command window.
480
481 The label on the box of the node will print the initial password: AT+PIN=**xxxxxx**, and directly use the six-digit password to access the AT instruction window.
482
483 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-NB%2C-NS_RS485%2CUART_to_NB-IoT_Converter_User_Manual/WebHome/image-20250226165815-1.png?rev=1.1||alt="image-20250226165815-1.png"]]
484
485
486 If you need to change the password, use **AT+PWORD=**xxxxxx (6 characters), CB nodes only support lowercase letters.
487
488 [[image:image-20240826181440-2.png]]
489
490
491 (% style="color:red" %)**Note: After entering the command, you need to add a line break, and you can also set automatic line breaks in the Bluetooth tool or UART connection tool.**
492
493 [[image:image-20240826181446-3.png]]
494
495 == 3.3 AT Commands Set ==
496
497
498 AT+<CMD>? : Help on <CMD>
499
500 AT+<CMD> : Run <CMD>
501
502 AT+<CMD>=<value> : Set the value
503
504 AT+<CMD>=? : Get the value
505
506
507 (% style="color:blue" %)**General Commands**      
508
509 AT : Attention       
510
511 AT?  : Short Help     
512
513 AT+MODEL : Get module information
514
515 ATZ : Trig a reset of the MCU
516
517 AT+CFGMOD : Working mode selection
518
519 AT+DEUI : Get or set the Device ID
520
521 AT+CFG : Print all settings
522
523 AT+SERVADDR: Get or Set the Server address
524
525 AT+TDC : Get or set the application data transmission interval in s
526
527 AT+INTMOD : Get or Set the trigger interrupt mode (0:input, 1:falling or rising, 2:falling, 3:rising)
528
529 AT+APN : Get or set the APN
530
531 AT+5VT : Get or Set extend the time of 5V power
532
533 AT+PRO : Get or Set usage agreement (1:COAP,2:UDP,3:MQTT,4:TCP)
534
535 AT+RXDL : Get or Set the receiving time
536
537 AT+XALARM :ALARM MOD 1:Get or Set alarm of angle X(0-360) ALARM MOD 2: X(-180-180)
538
539 AT+YALARM :ALARM MOD 1:Get or Set alarm of angle Y(0-360) ALARM MOD 2: Y(-180-180)
540
541 AT+INSTAL:Get or Set the installation direction
542
543 AT+CAL:Angle calibration
544
545 AT+AMOD:Get or Set the alarm mode
546
547 AT+GETSENSORVALUE : Returns the current sensor measurement
548
549 AT+DNSCFG : Get or Set DNS Server
550
551 AT+CSQTIME : Get or Set the time to join the network
552
553 AT+GDNS : Get or Set the DNS
554
555 AT+TLSMOD : Get or Set the TLS mode
556
557 AT+SLEEP : Get or Set the sleep mode
558
559 AT+DEBUG : Entering/exiting debugging mode
560
561 AT+MQOS : Set the QoS level of MQTT
562
563 AT+IPTYPE : Set the IPv4 or IPv6
564
565 AT+QSW : Power on and power off BG95 module
566
567 AT+GETLOG : Print serial port logs
568
569 AT+CLOCKLOG: Get or set SHT record time
570
571 AT+QBAND: Get or set Frequency Band
572
573 AT+IOTMOD: Configure Network Category to be Searched for under LTE RAT
574
575
576 (% style="color:blue" %)**MQTT Management**
577
578 AT+CLIENT : Get or Set the MQTT clientID
579
580 AT+UNAME : Get or Set the MQTT Username
581
582 AT+PWD : Get or Set the MQTT password
583
584 AT+PUBTOPIC: Get or set MQTT publishing topic
585
586 AT+SUBTOPIC: Get or set MQTT subscription topic
587
588
589 (% style="color:blue" %)**Coap Management**
590
591 AT+URI1: Get or set CoAP option 1
592
593 AT+URI2: Get or set CoAP option 2
594
595 AT+URI3: Get or set CoAP option 3
596
597 AT+URI4: Get or set CoAP option 4
598
599 AT+URI5: Get or set CoAP option 5
600
601 AT+URI6: Get or set CoAP option 6
602
603 AT+URI7: Get or set CoAP option 7
604
605 AT+URI8: Get or set CoAP option 8
606
607
608 (% style="color:blue" %)**GPS**
609
610 AT+GNSST : Extend the time to turn on GNSS
611
612 AT+GPS : Turn off and on GPS
613
614 AT+GTDC : Get or set GPS positioning interval in units of h
615
616
617 (% style="color:blue" %)**Information**          
618
619 AT+FDR1 : Reset parameters to factory default values except for passwords
620
621 AT+FDR : Reset Parameters to Factory Default
622
623 AT+PWORD : Get or set the System password
624
625 AT+LDATA : Get the last upload data
626
627 AT+CDP : Read or Clear cached data
628
629
630 == 3.4 Test Uplink and Change Update Interval ==
631
632
633 By default, Sensor will send uplinks **every 2 hours.**
634
635 User can use below commands to change the uplink interval.
636
637 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+TDC** (%%)
638
639 Example: AT+TDC=7200  ~/~/ Set Update Interval to 7200 seconds
640
641 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x01**
642
643 Format: Command Code (0x01) followed by 3 bytes.
644
645 Example:  12 hours= 43200 seconds  43200(D)=0xA8C0(H)
646
647 Downlink Payload: **01 00 A8 C0**  ~/~/ AT+TDC=43200, Set Update Interval to 12 hours.
648
649 (% style="color:red" %)**Note: User can also push the button for more than 1 seconds to activate an uplink.**
650
651
652 == 3.5 Set the receiving time ==
653
654
655 Feature: Extend the receiving time
656
657 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+RXDL**
658
659 Example: AT+RXDL=1000  ~/~/ Set the receiving time delay to 1000ms
660
661 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x03**
662
663 Format: Command Code (0x03) followed by 3 bytes.
664
665 Example:  Downlink Payload: **03 00 03 E8     **~/~/ AT+RXDL=1000
666
667
668 == 3.6 Reset ==
669
670
671 Feature: Trig a reset of the MCU.
672
673 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**ATZ**
674
675 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x04FF**
676
677
678 == 3.7 +5V ==
679
680
681 Feature: Set extend the time of 5V power.
682
683 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+5VT**
684
685 Example: AT+5VT=2000  ~/~/ Set extend the time of 5V power to 2000 ms
686
687 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x05**
688
689 Format: Command Code (0x05) followed by 3 bytes.
690
691 Example:  Downlink Payload: **05 00 07 D0    **~/~/ AT+5VT=2000
692
693
694 == 3.8 Trigger an uplink by external interrupt ==
695
696
697 TS01-CB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
698
699 (% style="color:blue" %)**AT command:**
700
701 * (% style="color:#037691" %)**AT+INTMOD **(%%) ~/~/ Set the trigger interrupt mode
702
703 * (% style="color:#037691" %)**AT+INTMOD=0 **(%%) ~/~/ Disable Interrupt
704
705 * (% style="color:#037691" %)**AT+INTMOD=1 **(%%) ~/~/ Trigger by rising and falling edge
706
707 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge
708
709 * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
710
711 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x06**
712
713 Format: Command Code (0x06) followed by 3 bytes.
714
715 Example1:  Downlink Payload: **06 00 00 01    **~/~/ AT+INTMOD=1
716
717 Example2:  Downlink Payload: **06 00 00 03    **~/~/ AT+INTMOD=3
718
719
720 == 3.9 Set the QoS level ==
721
722
723 This command is used to set the QoS level of **MQTT**.
724
725 (% style="color:blue" %)**AT command:**
726
727 * (% style="color:#037691" %)**AT+MQOS=xx**(%%)**   **~/~/ 0~~2
728
729 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x07(%%)**
730
731 Format: Command Code (0x07) followed by 1 byte.
732
733 **Ex1:** Downlink payload: **0x0700**  ~/~/ AT+MQOS=0
734
735 **Ex2:** Downlink payload: **0x0701**  ~/~/ AT+MQOS=1
736
737
738 == 3.10 Clock logging ==
739
740
741 Sometimes when we deploy lots of end nodes in field. We want all sensors sample data at the same time, and upload these data together for analyze. In such case, we can use clock loging feature.
742
743 We can use this command to set the start time of data recording and the time interval to meet the requirements of the specific collection time of data.
744
745 (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+CLOCKLOG=a,b,c,d(%%)**
746
747 (% style="color:#037691" %)**a: **(%%)**0:** Disable Clock logging.  ** 1: **Enable Clock Logging
748
749 (% style="color:#037691" %)**b:**(%%)** **Specify First sampling start second: range **(0 ~~ 3599, 65535)   ** ~/~/ (% style="color:red" %)**Note: **(%%)If parameter b is set to 65535, the log period starts after the node accesses the network and sends packets.
750
751 (% style="color:#037691" %)**c: **(%%)Specify the sampling interval: range **(0 ~~ 255 minutes)**
752
753 (% style="color:#037691" %)**d:**(%%)** **How many entries should be uplink on every TDC **(max 32)**
754
755 (% style="color:red" %)**Note: To disable clock recording, set the following parameters: AT+CLOCKLOG=1,65535,0,0**
756
757 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SPH01-NB_NB-IoT_Soil_pH_Sensor_User_Manual/WebHome/image-20240315141254-1.png?rev=1.1||alt="image-20240315141254-1.png"]]
758
759 **Example:**
760
761 **AT+CLOCKLOG=1,65535,1,5**
762
763 After the node sends the first packet, data is recorded to the memory at intervals of 1 minute. For each TDC uplink, the uplink load will include: battery information + the last 5 memory records (payload + timestamp).
764
765 [[image:image-20240709183914-9.png||height="535" width="1150"]]
766
767
768 (% class="wikigeneratedid" %)
769 (% style="color:red" %)**Note: Users need to synchronize the server time before configuring this command. If the server time is not synchronized before this command is configured, the command takes effect only after the node is reset.**
770
771 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x08(%%)**
772
773 Format: Command Code (0x08) followed by 5 bytes.
774
775 * **Example 1**: Downlink Payload:** 08 01 FFFF 0F 08**  ~/~/ Set SHT record time: AT+CLOCKLOG=1,65535,15,8
776 * **Example 2**: Downlink Payload:** 08 01 04B0 0F 08**  ~/~/ Set SHT record time: AT+CLOCKLOG=1,1200,15,8
777
778 (% style="color:red" %)**Note: When entering the downlink payload, there must be no Spaces between bytes.**
779
780
781 == 3.11 Set the TLS mode ==
782
783
784 Refer to this link ([[MQTT Connection to send data to Tago.io>>http://wiki.dragino.com/xwiki/bin/view/Main/General%20Manual%20for%20-CB%20%2C%20-CS%20models/#H3.7Tago.io28viaMQTT29]])to use the TLS mode.
785
786 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+TLSMOD**
787
788 **Example 1: ** AT+TLSMOD=0,0  ~/~/ Disable TLS Mode.
789
790 **Example 2:**  AT+TLSMOD=1,0  ~/~/ No authentication
791
792 AT+TLSMOD=1,1  ~/~/ Perform server authentication
793
794 AT+TLSMOD=1,2  ~/~/ Perform server and client authentication if requested by the remote server
795
796 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x09(%%)**
797
798 Format: Command Code (0x09) followed by 2 bytes.
799
800 Example1:  Downlink Payload: **09 00 00    **~/~/ AT+TLSMOD=0,0
801
802 Example2:  Downlink Payload: **09 01 02    **~/~/ AT+TLSMOD=1,2
803
804
805 == 3.12 Set GNSS open time ==
806
807
808 Extend the time to turn on GNSS. The automatic GPS location time is extended when the node is activated.
809
810 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+GNSST**
811
812 Example: AT+GNSST=30  ~/~/ Set the GPS positioning time to 30 seconds
813
814 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x10(%%)**
815
816 Format: Command Code (0x10) followed by 2 bytes.
817
818 Example:  Downlink Payload: **10 00 1E    **~/~/ AT+GNSST=30
819
820
821 == 3.13 Turn on/off GPS ==
822
823
824 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+GPS **
825
826 **Ex1:  **AT+GPS=0  ~/~/ Turn off GPS
827
828 **Ex2:  **AT+GPS=1  ~/~/ Turn on GPS
829
830 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x11(%%)**
831
832 Format: Command Code (0x11) followed by 1 byte.
833
834 Example:  Downlink Payload: **11 01   **~/~/ AT+GPS=1
835
836
837 == 3.14 Set GPS positioning interval ==
838
839
840 Feature: Set GPS positioning interval (unit: hour).
841
842 When GPS is enabled, the node automatically locates and uplinks each time it passes **GTDC time** after activation.
843
844 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+GTDC**
845
846 Example: AT+GTDC=24  ~/~/ Set the GPS positioning interval to 24h.
847
848 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x12(%%)**
849
850 Format: Command Code (0x12) followed by 3 bytes.
851
852 Example: 24 hours:  24(D)=0x18(H)
853
854 Downlink Payload: **12 00 00 18   **~/~/ AT+GTDC=24
855
856
857 == 3.15 Set the search network time ==
858
859
860 Feature: Get or Set the time to join the network(unit: minutes).
861
862 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+CSQTIME**
863
864 Example: AT+CSQTIME=10  ~/~/ Set the search time to 10 minutes.
865
866 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x13(%%)**
867
868 Format: Command Code (0x13) followed by 1 byte.
869
870 Example:  Downlink Payload: **13 0A   **~/~/ AT+CSQTIME=10
871
872
873
874 == 3.16 Angle Alarm Feature ==
875
876
877 TS01-CB work flow with Alarm feature.
878
879 === 3.16.1 Set the alarm mode ===
880
881
882 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+AMOD**
883
884 Ex1: AT+AMOD=0  ~/~/ Turn off alarm function.
885
886 Ex2: AT+AMOD=1  ~/~/ Set the alarm mode 1.
887
888
889 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x0B(%%)**
890
891 Format: Command Code (0x0B) followed by 1 byte.
892
893 Example:  Downlink Payload: **0B 01  **~/~/ AT+AMOD=1
894
895
896 === 3.16.2 Set alarm of angle X/Y ===
897
898
899 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+XALARM, AT+YALARM**
900
901 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x0A(%%)**(Command Code)
902
903
904 (% style="color:red" %)**TS01-CB has two alarm modes, XALARM and YALARM have different Settings according to different AMOD.**
905
906 (% style="color:blue" %)**Alarm Mode 1:**
907
908 (% style="color:#037691" %)**AT+AMOD=1        **(%%)~/~/ Downlink payload:** 0x0B 01**
909
910 (% style="color:#037691" %)**AT+XALARM=Xvalue, AT+YALARM=Yvalue   **(%%)**(Value range: 0~~360)**
911
912 Format for (% style="color:#037691" %)**downlink command**(%%): **Command Code (0x0A) followed by 4 bytes**, the first two bytes are XALARM values, and the last two bytes are YALARM values.
913
914 When an angle change is detected that exceeds the range compared to the last time, an alarm is reported.
915
916 **For example:**
917
918 AT+AMOD=1  ~/~/ Downlink payload:** 0x0B 01**
919
920 AT+XALARM=10  AT+YALARM=20   ~/~/ 10(D)=0x0A(H), 20(D)=14(H), Downlink payload:** 0x0A 00 0A 00 14**
921
922 The last angle measured on the X-axis was 120 degrees, and this time the angle measured on the X-axis is 135 degrees, an alarm will be triggered to upload a data packet.
923
924 The last time the angle measured on the Y-axis was 100 degrees, but this time the angle measured on the Y-axis is 50 degrees, which will trigger an alarm and upload the data packet.
925
926 If the alarm conditions are met on the X-axis or Y-axis, an alarm will be triggered.
927
928
929 (% style="color:blue" %)**Alarm Mode 2:**
930
931 (% style="color:#037691" %)**AT+AMOD=2          **(%%)~/~/ Downlink payload:** 0x0B 02**
932
933 (% style="color:#037691" %)**AT+XALARM=min,max   **(%%)**(Value range: -180~~180)**
934
935 When min=0, and max=0, The alarm in the X direction is disabled
936
937 When min=0, and max≠0, Alarm higher than max
938
939 When min≠0, and max=0, Alarm lower than min
940
941 When min≠0 and max≠0, Alarm higher than max or lower than min
942
943 (% style="color:#037691" %)**AT+YALARM=min,max   **(%%)**(Value range:-180~~180)**
944
945 When min=0, and max=0, The alarm in the Y direction is disabled
946
947 When min=0, and max≠0, Alarm higher than max
948
949 When min≠0, and max=0, Alarm lower than min
950
951 When min≠0 and max≠0, Alarm higher than max or lower than min
952
953
954 In Alarm Mode 2, the XALARM and YALARM downlink instructions are still the same, as explained below:
955
956 (% style="color:#037691" %)**~-~->Downlink command: 0x0A**
957
958 Format: Command Code (**0x0A) followed by 8 bytes**.The first 4 bytes are the minimum and maximum values of XALARM, and the last 4 bytes are the minimum and maximum values of YALARM.
959
960 **Example 1:**
961
962 AT+AMOD=2  ~/~/ Downlink payload:** 0x0B 02**
963
964 AT+ XALARM=50,80  AT+YALARM=0,0  ~/~/ Downlink payload: **0X0A 00 32 00 50 00 00 00 00**
965
966 **Example 2:**
967
968 AT+AMOD=2  ~/~/ Downlink payload:** 0x0B 02**
969
970 AT+ XALARM=0,0  AT+ YALARM=20,30  ~/~/ Downlink payload: **0X0A 00 00 00 00 00 14 00 1E**
971
972
973 (% style="color:blue" %)**Alarm Mode 0:**
974
975 AT+AMOD=0  ~/~/  Turn off alarm function
976
977
978 (% style="color:blue" %)**Alarm time setting:**
979
980 (% style="color:#037691" %)**AT+CLOCKLOG=1,65535,15,8** (%%) ~/~/  The alarm interval is consistent with the detection interval of the clock recording function. It means triggering an alarm every 15 minutes.
981
982
983 == 3.17 Calibration and installation direction ==
984
985
986 Feature: Angle calibration.
987
988 (% style="color:blue" %)**AT+CAL : Calibration angle**
989
990 When the calibration angle is 0 or close to 0, it is considered successful calibration.
991
992
993 Before calibrating with (% style="color:blue" %)**AT+CAL**(%%) you need to check the mounting orientation of the angle module.
994
995 (% style="color:blue" %)**Installation direction command:**
996
997 (% style="color:#037691" %)**AT+INSTAL=0 ** (%%) ~/~/ Angle module in horizontal direction
998
999 (% style="color:#037691" %)**AT+INSTAL=1 ** (%%) ~/~/ Angle module in vertical direction
1000
1001
1002 **The position of the Angle module in the node:**
1003
1004 [[image:image-20241219102330-1.jpeg]]
1005
1006 (% style="color:red" %)**NOTE: The Angle module is located at the bottom of the node, and when the node is perpendicular to the ground and the antenna is facing down, the Angle module is in the correct horizontal direction.
1007 When the back of the node is parallel to the ground, the Angle module is in the correct vertical direction. If the direction is incorrect, it may result in opposite angles or inaccurate degrees.**
1008
1009
1010 After calibrating the node using (% style="color:#037691" %)**AT+INSTAL**(%%) and (% style="color:#037691" %)**AT+CAL,**(%%) we can use AT+ACC to calculate the current acceleration of each axis, when the acceleration of X,Y,Z axis is 0,0,1, it means correct calibration.
1011
1012 **Example: **
1013
1014 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/TS01-LB_LoRaWAN_Titling_Sensor_User_Manual/WebHome/image-20240919144954-2.png?width=764&height=602&rev=1.1||alt="image-20240919144954-2.png"]]
1015
1016 (% style="color:red" %)**NOTE: Regardless of whether the angle module is in the horizontal or vertical direction, it is correctly calibrated only when AX=0,AY=0,AZ=1(Two decimal places, with deviations), otherwise an error in angle measurement may occur during subsequent use.**
1017
1018
1019
1020 == 3.18 Set the IPv4 or IPv6 ==
1021
1022
1023 This command is used to set IP version.
1024
1025 (% style="color:blue" %)**AT command:**
1026
1027 * (% style="color:#037691; font-weight:bold" %)**AT+IPTYPE**(% style="color:#037691" %)**=1**(%%)**      **~/~/ IPv4
1028 * (% style="color:#037691; font-weight:bold" %)**AT+IPTYPE**(% style="color:#037691" %)**=2**(%%)**      **~/~/ IPv6
1029
1030 == 3.19 Configure Network Category to be Searched for under LTE RAT. ==
1031
1032
1033 (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+IOTMOD=xx(%%)**
1034
1035 (% style="color:#037691" %)**xx:**(%%)  **0:** eMTC
1036
1037 **1:** NB-IoT
1038
1039 **2:** eMTC and NB-IoT
1040
1041
1042 == 3.20 Factory data reset ==
1043
1044
1045 Two different restore factory Settings configurations.
1046
1047 (% style="color:blue" %)**AT command:**
1048
1049 * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)**       **~/~/ Reset Parameters to Factory Default.
1050 * (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)**     **~/~/ Reset parameters to factory default values **except for passwords**.
1051
1052 == 3.21 Set CoAP option ==
1053
1054
1055 Feature: Set CoAP option, follow this link to set up the CoaP protocol.
1056
1057 (% style="color:blue" %)**AT command: **(% style="color:#037691; font-weight:bold" %)**AT+URI1~~AT+URI8**
1058
1059 (% style="color:#037691; font-weight:bold" %)**AT+URI1=11,"i"         **(%%)~/~/ "i/" indicates that the endpoint supports observation mode. In -CB products, fixed  setting AT+URI1=11,"i"
1060
1061 (% style="color:#037691; font-weight:bold" %)**AT+URI2=11,"CoAP endpoint URl"   **(%%)~/~/ 11 is a fixed parameter.
1062
1063 **Example: ** i/13a35fbe-9515-6e55-36e8-081fb6aacf86
1064
1065 AT+URI1=11,"i"
1066
1067 AT+URI2=11,"13a35fbe-9515-6e55-36e8-081fb6aacf86"
1068
1069 ~-~->If multiple groups of CoAP endpoint urls:
1070
1071 AT+URI3=11,"i"
1072
1073 AT+URI4=11,"CoAP endpoint URl"
1074
1075
1076 == 3.22 Power on / power off BG95 module ==
1077
1078
1079 This command is used to power on and power off BG95 module.
1080
1081 * (% style="color:blue" %)**AT command: **(% style="color:#037691" %)**AT+QSW**
1082
1083 The module is powered on after the command is sent for the first time, and powered off after the command is sent again.
1084
1085 [[image:image-20240709184729-10.png||height="589" width="675"]]
1086
1087
1088 == 3.23 Example Query saved historical records ==
1089
1090
1091 * (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+CDP(%%)**
1092
1093 This command can be used to search the saved history, recording up to 32 groups of data, each group of historical data contains a maximum of 100 bytes.
1094
1095 (% class="wikigeneratedid" %)
1096 [[image:image-20240709183204-7.png||height="586" width="672"]]
1097
1098
1099 == 3.24 Uplink log query ==
1100
1101
1102 * (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+GETLOG(%%)**
1103
1104 This command can be used to query upstream logs of data packets.
1105
1106 [[image:image-20240709183635-8.png||height="579" width="667"]]
1107
1108
1109 == 3.25 Set the downlink debugging mode(Since firmware v1.1.0) ==
1110
1111
1112 Feature: Set the conversion between the standard version and 1T version downlinks.
1113
1114 (% style="color:blue" %)**AT command: AT+DOWNTE**
1115
1116 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1117 |=(% style="width: 138px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 143px; background-color: rgb(79, 129, 189); color: white;" %)**Function/Parameters**|=(% style="width: 229px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
1118 |(% style="width:134px" %)AT+DOWNTE=?|(% style="width:143px" %)Get current Settings|(% style="width:229px" %)(((
1119 0,0  (default)
1120 OK
1121 )))
1122 |(% colspan="1" rowspan="2" style="width:134px" %)(((
1123
1124
1125
1126
1127 AT+DOWNTE=a,b
1128 )))|(% style="width:143px" %)**a**: Set the conversion between the downlink of the standard version and 1T version|(% style="width:229px" %)(((
1129 **0**: Set the downlink of the standard version.
1130 **1**: Set the downlink of the 1T version(ThingsEye platform)
1131 )))
1132 |(% style="width:143px" %)**b**: Enable/Disable downlink debugging|(% style="width:229px" %)(((
1133 **0**: Disable downlink debugging mode.
1134 **1**: Enable downlink debugging mode, users can see the original downlink reception.
1135 )))
1136
1137 **Example:**
1138
1139 * AT+DOWNTE=0,1  ~/~/ Set to standard version downlink, and enable downlink debugging.
1140 * AT+DOWNTE=1,1  ~/~/ Set to 1T version downlink, and enable downlink debugging.
1141
1142 (% style="color:blue" %)**Downlink Command:  **
1143
1144 No downlink commands for feature
1145
1146
1147 = 4. Battery & Power Consumption =
1148
1149
1150 TS01-CB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1151
1152 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1153
1154
1155 = 5. Firmware update =
1156
1157
1158 User can change device firmware to::
1159
1160 * Update with new features.
1161
1162 * Fix bugs.
1163
1164 Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/scl/fo/1mzflb9p9kx15btnc11gr/AFOWfl6YZ38d4DYXc-ooMFA/TS01-CB?dl=0&rlkey=ku98jt8u30coqy66saebai2co&subfolder_nav_tracking=1]]**
1165
1166 Methods to Update Firmware:
1167
1168 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]].
1169
1170 * Update through UART TTL interface : **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
1171
1172 = 6. FAQ =
1173
1174 == 6.1 How can I access the BG95-NGFF AT Commands? ==
1175
1176
1177 User can access to BG95-NGFF directly and send AT Commands.
1178
1179 [[See BG95-NGFF AT Command set>>https://www.dropbox.com/scl/fo/1mzflb9p9kx15btnc11gr/ALDWTvDjuVoXvDJuYWCRh5U/Vendor%20Datasheet/BG95?dl=0&rlkey=ku98jt8u30coqy66saebai2co&subfolder_nav_tracking=1
1180 ]]
1181
1182
1183 == 6.2 General Manual for -CB , -CS models ==
1184
1185 Users can follow the instructions in this [[link>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Manual%20for%20-CB%20%2C%20-CS%20models/]] to see how to configure to connect to different servers.
1186
1187
1188 = 7. Order Info =
1189
1190
1191 Part Number: (% style="color:blue" %)**TS01-CB-XX**
1192
1193 (% style="color:red" %)**XX:**
1194
1195 * (% style="color:#037691" %)**GE**(%%): General version ( Exclude SIM card)
1196
1197 * (% style="color:#037691" %)**1T**(%%): with 1NCE* 10 years 500MB SIM card Pre-confgure to ThingsEye server
1198
1199 = 8. ​Packing Info =
1200
1201
1202 (% style="color:#037691" %)**Package Includes**:
1203
1204 * TS01-CB NB-IoT/LTE-M Tilting Sensor x 1
1205
1206 * External antenna x 1
1207
1208 (% style="color:#037691" %)**Dimension and weight**:
1209
1210 * Device Size: cm
1211
1212 * Device Weight: g
1213
1214 * Package Size / pcs : cm
1215
1216 * Weight / pcs : g
1217
1218 = 9. Support =
1219
1220
1221 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1222
1223 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[Support@dragino.cc>>mailto:Support@dragino.cc]].
1224
1225 (% style="display:none" %) (%%)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0