Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Xiaoling on 2025/04/25 09:08
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -474,51 +474,25 @@ 474 474 475 475 == 3.3 Add or Delete RS485 Sensor == 476 476 477 -((( 478 478 Feature: User can add or delete 3^^rd^^ party sensor as long they are RS485/Modbus interface,baud rate support 9600.Maximum can add 4 sensors. 479 -))) 480 480 481 -((( 482 482 (% style="color:#037691" %)**AT Command: ** 483 -))) 484 484 485 -((( 486 486 (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout** 487 -))) 488 488 489 -* ((( 490 -Type_Code range: A1 ~~ A4 491 -))) 492 -* ((( 493 -Query_Length: RS485 Query frame length, Value cannot be greater than 10 494 -))) 495 -* ((( 496 -Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes 497 -))) 498 -* ((( 499 -Read_Length: RS485 response frame length supposed to receive. Max can receive 500 -))) 501 -* ((( 502 -Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. 503 -))) 504 -* ((( 505 -has_CRC: RS485 Response crc check (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0. 506 -))) 507 -* ((( 508 -timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 509 -))) 483 +* Type_Code range: A1 ~~ A4 484 +* Query_Length: RS485 Query frame length, Value cannot be greater than 10 485 +* Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes 486 +* Read_Length: RS485 response frame length supposed to receive. Max can receive 487 +* Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. 488 +* has_CRC: RS485 Response crc check (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0. 489 +* timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 510 510 511 -((( 512 512 **Example:** 513 -))) 514 514 515 -((( 516 516 User need to change external sensor use the type code as address code. 517 -))) 518 518 519 -((( 520 520 With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table: 521 -))) 522 522 523 523 [[image:image-20220624143553-10.png]] 524 524 ... ... @@ -633,7 +633,6 @@ 633 633 |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 130px;" %)**Function**|=(% style="width: 87px;" %)**Response** 634 634 |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK 635 635 636 - 637 637 Eg: The setting command **AT+STYPE=802212** means: 638 638 639 639 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:495px" %)