Last modified by Karry Zhuang on 2025/07/03 11:59

From version 149.1
edited by Karry Zhuang
on 2024/05/08 14:18
Change comment: There is no comment for this version
To version 145.2
edited by Karry Zhuang
on 2024/05/06 17:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -339,9 +339,9 @@
339 339  
340 340  **Step 2**:  Use ACT button to activate LHT52 and it will auto join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel.
341 341  
342 -=== 3.1.1 Uplink Payload (Fport~=2) ===
342 +=== 3.1.1 Uplink Payload (Fport~=5) ===
343 343  
344 -The uplink payload includes totally 14 bytes. Uplink packets use FPORT=2 and (% style="color:#4472c4" %)**every 20 minutes**(%%) send one uplink by default.
344 +The uplink payload includes totally 14 bytes. Uplink packets use FPORT=5 and (% style="color:#4472c4" %)**every 20 minutes**(%%) send one uplink by default.
345 345  
346 346  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:370px" %)
347 347  |=(% style="width: 60px;background-color:#4F81BD;color:white" %)**Size(bytes)(% style="display:none" %) (%%)**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)2|=(% style="width: 80px;background-color:#4F81BD;color:white" %)4|=(% style="width: 80px;background-color:#4F81BD;color:white" %)4|=(% style="width: 60px;background-color:#4F81BD;color:white" %)4
... ... @@ -349,7 +349,7 @@
349 349  
350 350  [[image:1714374026505-898.png||height="200" width="736"]]
351 351  
352 -Payload Example(FPort=2):(% style="background-color:yellow" %)**0D 32 66 29 AF E0 00 00 00 02 00 05 E3 B0**
352 +Payload Example(FPort=5):(% style="background-color:yellow" %)**0D 32 66 29 AF E0 00 00 00 02 00 05 E3 B0**
353 353  
354 354  === 3.1.2 BAT- Battery information ===
355 355  
... ... @@ -509,32 +509,11 @@
509 509  
510 510  = 4. Configure AIS Sensor using AT commands =
511 511  
512 -== 4.1 Configure Methods ==
512 +== 4.1 System Management Commands ==
513 513  
514 +=== 4.1.1 Change Uplink Interval ===
514 514  
515 - configure method:
516 516  
517 -* AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
518 -* 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]].
519 -* LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
520 -
521 -== 4.2 General Commands ==
522 -
523 -
524 -These commands are to configure:
525 -
526 -* General system settings like: uplink interval.
527 -* LoRaWAN protocol & radio related command.
528 -
529 -They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
530 -
531 -[[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/]]
532 -
533 -== 4.3 Commands special design for AIS Sensor ==
534 -
535 -=== 4.3.1 Change Uplink Interval ===
536 -
537 -
538 538  Feature: Change LoRaWAN End Node Transmit Interval.
539 539  
540 540  
... ... @@ -567,7 +567,7 @@
567 567  
568 568  (% style="display:none" %) (%%)
569 569  
570 -== 4.3.2 Request the server to send an ACK ==
549 +== 4.1.2 Request the server to send an ACK ==
571 571  
572 572  
573 573  (% style="color:blue" %)**AT Command: AT+PNACKMD**
... ... @@ -589,7 +589,7 @@
589 589  0x34 00  ~/~/Same As AT+PNACKMD=0
590 590  
591 591  
592 -=== 4.3.3 Set Interrupt Mode ===
571 +=== 4.1.3 Set Interrupt Mode ===
593 593  
594 594  
595 595  Feature, Set Interrupt mode for GPIO_EXIT.
... ... @@ -625,36 +625,3 @@
625 625  * Example 1: Downlink Payload: 06000000  **~-~-->**  AT+INTMOD1=0
626 626  * Example 2: Downlink Payload: 06000003  **~-~-->**  AT+INTMOD1=3
627 627  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
628 -
629 -=== ===
630 -
631 -=== 4.3.4 Clock logging (Since firmware version v1.2.1) ===
632 -
633 -
634 -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.
635 -
636 -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.
637 -
638 -* (% style="color:blue" %)**AT Command:**(%%)** (% style="color:#037691" %)AT+CLOCKLOG=a,b,c,d(%%)**
639 -
640 -(% style="color:#037691" %)**a: **(%%)**0:** Disable Clock logging.  ** 1: **Enable Clock Logging
641 -
642 -(% 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.
643 -
644 -(% style="color:#037691" %)**c: **(%%)Specify the sampling interval: range **(0 ~~ 255 minutes)**
645 -
646 -(% style="color:#037691" %)**d:**(%%)How many entries should be uplink on every TDC **(max 32)**
647 -
648 -[[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"]]
649 -
650 -**Example:**
651 -
652 -**AT+CLOCKLOG=1,65535,1,5**
653 -
654 -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).
655 -
656 -(% class="wikigeneratedid" %)
657 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/TS01-NB_NB-IoT_Tilting_Sensor_User_Manual/WebHome/image-20240316163501-1.png?width=1064&height=517&rev=1.1||alt="image-20240316163501-1.png"]]
658 -
659 -(% class="wikigeneratedid" %)
660 -(% 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.**