Changes for page 01 Lua Functions

Last modified by Theodore Xu on 2023/10/26 10:51

From version 5.15
edited by Stone Wu
on 2022/07/12 09:51
Change comment: There is no comment for this version
To version 5.17
edited by Stone Wu
on 2022/07/12 09:55
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -1501,17 +1501,28 @@
1501 1501  ** addr_getstring("@W_HSW225",15)
1502 1502  
1503 1503  (((
1504 +(% class="wikigeneratedid" %)
1505 +== **Power-down storage area (HAW/HAX)** ==
1506 +
1507 +The system storage area (HAW) is used for the system power-down hold registers:
1508 +
1509 +1. Accessed as a word, numbered in the range: "@W_HAW0"-"@W_HAW199999".
1510 +1. Accessed by bit, the numbering range is: "@B_HAX0.0"-"@B_HAX199999.15".
1511 +
1512 +(% class="box infomessage" %)
1513 +(((
1514 +**✎Note:** HAW/HAX is a power-down hold, that is, the registers of this type can retain the data before power-down in case of power-down.
1515 +)))
1516 +
1504 1504  = **9 General Functions** =
1505 1505  )))
1506 1506  
1507 1507  (((
1508 -== **9.1 send_sms_ira(string number, string message)** ==
1521 +== **send_sms_ira(string number, string message)** ==
1509 1509  )))
1510 1510  
1511 -**Function:**
1524 +**Function:** Use IRA character set to send English text messages
1512 1512  
1513 -Use IRA character set to send English text messages
1514 -
1515 1515  **Parameters:**
1516 1516  
1517 1517  //number: //number (up to 32 characters, the excess will be discarded)
... ... @@ -1545,13 +1545,11 @@
1545 1545  Failed: multi
1546 1546  
1547 1547  (((
1548 -== **9.3 sms_get_state(number id)** ==
1559 +== **sms_get_state(number id)** ==
1549 1549  )))
1550 1550  
1551 -**Function:**
1562 +**Function:** Get the status of the SMS
1552 1552  
1553 -Get the status of the SMS
1554 -
1555 1555  **parameter:**
1556 1556  
1557 1557  //id~:// SMS corresponding id
... ... @@ -1563,13 +1563,11 @@
1563 1563  Failed: multi
1564 1564  
1565 1565  (((
1566 -== **9.4 jwt_encode(table head, table payload, string aud, number iat, number exp, string key, int jwttype)** ==
1575 +== **jwt_encode(table head, table payload, string aud, number iat, number exp, string key, int jwttype)** ==
1567 1567  )))
1568 1568  
1569 -**Function:**
1578 +**Function:** Convert data to JWT format
1570 1570  
1571 -Convert data to JWT format
1572 -
1573 1573  **parameter:**
1574 1574  
1575 1575  //aud: //project name