Last modified by Xiaoling on 2025/04/23 15:57

From version 41.39
edited by Xiaoling
on 2022/06/06 11:20
Change comment: There is no comment for this version
To version 41.40
edited by Xiaoling
on 2022/06/06 11:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1411,44 +1411,77 @@
1411 1411  
1412 1412  ==== **Set Serial Communication Parameters** ====
1413 1413  
1414 +(((
1414 1414  Set the Rs485 serial communication parameters:
1416 +)))
1415 1415  
1416 -* **AT Command:**
1418 +* (((
1419 +**AT Command:**
1420 +)))
1417 1417  
1422 +(((
1418 1418  Set Baud Rate:
1424 +)))
1419 1419  
1420 1420  (% class="box infomessage" %)
1421 1421  (((
1428 +(((
1422 1422  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1423 1423  )))
1431 +)))
1424 1424  
1433 +(((
1425 1425  Set UART Parity
1435 +)))
1426 1426  
1427 1427  (% class="box infomessage" %)
1428 1428  (((
1439 +(((
1429 1429  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1430 1430  )))
1442 +)))
1431 1431  
1444 +(((
1432 1432  Set STOPBIT
1446 +)))
1433 1433  
1434 1434  (% class="box infomessage" %)
1435 1435  (((
1450 +(((
1436 1436  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1437 1437  )))
1453 +)))
1438 1438  
1455 +(((
1456 +
1457 +)))
1439 1439  
1440 -* **Downlink Payload:**
1459 +* (((
1460 +**Downlink Payload:**
1461 +)))
1441 1441  
1463 +(((
1442 1442  **A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1465 +)))
1443 1443  
1467 +(((
1444 1444  **Example:**
1469 +)))
1445 1445  
1446 -* A7 01 00 60   same as AT+BAUDR=9600
1447 -* A7 01 04 80  same as AT+BAUDR=115200
1471 +* (((
1472 +A7 01 00 60   same as AT+BAUDR=9600
1473 +)))
1474 +* (((
1475 +A7 01 04 80  same as AT+BAUDR=115200
1476 +)))
1448 1448  
1478 +(((
1449 1449  A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1480 +)))
1450 1450  
1482 +(((
1451 1451  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1484 +)))
1452 1452  
1453 1453  
1454 1454