Last modified by Mengting Qiu on 2025/06/10 18:53

From version 31.4
edited by Xiaoling
on 2022/06/24 14:41
Change comment: There is no comment for this version
To version 32.4
edited by Xiaoling
on 2022/06/24 14:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -441,7 +441,7 @@
441 441  [[image:image-20220624143618-11.png]]
442 442  
443 443  
444 -Then the following parameters should be:
444 +**Then the following parameters should be:**
445 445  
446 446  * Address_Code range: A1
447 447  * Query_Length: 8
... ... @@ -451,21 +451,23 @@
451 451  * has_CRC: 1
452 452  * timeout: 1500 (Fill in the test according to the actual situation)
453 453  
454 -So the input command is:
455 455  
455 +**So the input command is:**
456 +
456 456  AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500
457 457  
458 458  
459 459  In every sampling. WSC1-L will auto append the sensor segment as per this structure and uplink.
460 460  
461 -|Type Code|Length (Bytes)|Measured Value
462 -|A1|2|0x000A
462 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:351px" %)
463 +|=(% style="width: 94px;" %)Type Code|=(% style="width: 121px;" %)Length (Bytes)|=(% style="width: 132px;" %)Measured Value
464 +|(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A
463 463  
464 -Related commands:
466 +**Related commands:**
465 465  
466 -AT+DYSENSOR=A1,0 > Delete 3^^rd^^ party sensor A1.
468 +AT+DYSENSOR=A1,0  ~-~->  Delete 3^^rd^^ party sensor A1.
467 467  
468 -AT+DYSENSOR ~-~-> List All 3^^rd^^ Party Sensor. Like below:
470 +AT+DYSENSOR  ~-~->  List All 3^^rd^^ Party Sensor. Like below:
469 469  
470 470  
471 471  (% style="color:#037691" %)**Downlink Command:  **
... ... @@ -484,12 +484,13 @@
484 484  
485 485  (% style="color:#037691" %)**AT Command:**
486 486  
487 -|**Command Example**|**Function**|**Response**
488 -|AT+RSWRITE=xxxxxx|(((
489 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:474px" %)
490 +|=(% style="width: 159px;" %)**Command Example**|=(% style="width: 227px;" %)**Function**|=(% style="width: 85px;" %)**Response**
491 +|(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)(((
489 489  Send command to 485 sensor
490 490  
491 491  Range : no more than 10 bytes
492 -)))|OK
495 +)))|(% style="width:85px" %)OK
493 493  
494 494  Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor
495 495  
... ... @@ -508,13 +508,15 @@
508 508  
509 509  (% style="color:#037691" %)**AT Command:**
510 510  
511 -|**Command Example**|**Function**|**Response**
512 -|AT+DTR=1000|(((
514 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:433px" %)
515 +|=(% style="width: 157px;" %)**Command Example**|=(% style="width: 188px;" %)**Function**|=(% style="width: 85px;" %)**Response**
516 +|(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)(((
513 513  Set response timeout to:
514 514  
515 515  Range : 0~~10000
516 -)))|OK
520 +)))|(% style="width:85px" %)OK
517 517  
522 +
518 518  (% style="color:#037691" %)**Downlink Command:**
519 519  
520 520  Format: Command Code (0xE0) followed by 3 bytes time value.
... ... @@ -532,43 +532,26 @@
532 532  
533 533  See [[definition>>||anchor="H"]] for the sensor type.
534 534  
540 +[[image:image-20220624144904-12.png]]
535 535  
536 -|(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16
537 -| |A4|A3|A2|A1| | |
538 -|(% rowspan="2" %)Byte2|Bit15|Bit14|Bit13|Bit12|Bit11|Bit10|Bit9|Bit8
539 -| | |Solar Radiation|PAR|PM10|PM2.5|(((
540 -Rain
541 541  
542 -Gauge
543 -)))|(((
544 -Air
545 545  
546 -Pressure
547 -)))
548 -|(% rowspan="2" %)Byte1|Bit7|Bit6|Bit5|Bit4|Bit3|Bit2|Bit1|Bit0
549 -|Humidity|Temperature|CO2|(((
550 -Rain/Snow
551 -
552 -Detect
553 -)))|illuminance|(((
554 -Wind
555 -
556 -Direction
557 -)))|Wind Speed|BAT
558 -
559 559  (% style="color:#037691" %)**AT Command:**
560 560  
561 -|**Command Example**|**Function**|**Response**
562 -|AT+STYPE=80221|Set sensor types|OK
546 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:377px" %)
547 +|=(% style="width: 157px;" %)**Command Example**|=(% style="width: 130px;" %)**Function**|=(% style="width: 87px;" %)**Response**
548 +|(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK
563 563  
550 +
564 564  Eg: The setting command **AT+STYPE=802212** means:
565 565  
566 -|(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16
567 -|0|0|0|0|1|0|0|0
568 -|(% rowspan="2" %)Byte2|Bit15|Bit14|Bit13|Bit12|Bit11|Bit10|Bit9|Bit8
569 -|0|0|0|0|0|0|1|0
570 -|(% rowspan="2" %)Byte1|Bit7|Bit6|Bit5|Bit4|Bit3|Bit2|Bit1|Bit0
571 -|0|0|1|0|0|0|0|1
553 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:495px" %)
554 +|(% rowspan="2" style="width:57px" %)Byte3|(% style="width:57px" %)Bit23|(% style="width:59px" %)Bit22|(% style="width:56px" %)Bit21|(% style="width:51px" %)Bit20|(% style="width:54px" %)Bit19|(% style="width:54px" %)Bit18|(% style="width:52px" %)Bit17|(% style="width:52px" %)Bit16
555 +|(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)1|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)0
556 +|(% rowspan="2" style="width:57px" %)Byte2|(% style="width:57px" %)Bit15|(% style="width:59px" %)Bit14|(% style="width:56px" %)Bit13|(% style="width:51px" %)Bit12|(% style="width:54px" %)Bit11|(% style="width:54px" %)Bit10|(% style="width:52px" %)Bit9|(% style="width:52px" %)Bit8
557 +|(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)0|(% style="width:54px" %)0|(% style="width:52px" %)1|(% style="width:52px" %)0
558 +|(% rowspan="2" style="width:57px" %)Byte1|(% style="width:57px" %)Bit7|(% style="width:59px" %)Bit6|(% style="width:56px" %)Bit5|(% style="width:51px" %)Bit4|(% style="width:54px" %)Bit3|(% style="width:54px" %)Bit2|(% style="width:52px" %)Bit1|(% style="width:52px" %)Bit0
559 +|(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)1|(% style="width:51px" %)0|(% style="width:54px" %)0|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)1
572 572  
573 573  So wsc1-L will upload the following data: Custom Sensor A1, Rain Gauge,CO2,BAT.
574 574  
image-20220624144904-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +17.2 KB
Content