Changes for page 01 Lua Functions

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

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

Summary

Details

Page properties
Content
... ... @@ -1501,28 +1501,17 @@
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 -
1517 1517  = **9 General Functions** =
1518 1518  )))
1519 1519  
1520 1520  (((
1521 -== **send_sms_ira(string number, string message)** ==
1508 +== **9.1 send_sms_ira(string number, string message)** ==
1522 1522  )))
1523 1523  
1524 -**Function:** Use IRA character set to send English text messages
1511 +**Function:**
1525 1525  
1513 +Use IRA character set to send English text messages
1514 +
1526 1526  **Parameters:**
1527 1527  
1528 1528  //number: //number (up to 32 characters, the excess will be discarded)
... ... @@ -1556,11 +1556,13 @@
1556 1556  Failed: multi
1557 1557  
1558 1558  (((
1559 -== **sms_get_state(number id)** ==
1548 +== **9.3 sms_get_state(number id)** ==
1560 1560  )))
1561 1561  
1562 -**Function:** Get the status of the SMS
1551 +**Function:**
1563 1563  
1553 +Get the status of the SMS
1554 +
1564 1564  **parameter:**
1565 1565  
1566 1566  //id~:// SMS corresponding id
... ... @@ -1572,11 +1572,13 @@
1572 1572  Failed: multi
1573 1573  
1574 1574  (((
1575 -== **jwt_encode(table head, table payload, string aud, number iat, number exp, string key, int jwttype)** ==
1566 +== **9.4 jwt_encode(table head, table payload, string aud, number iat, number exp, string key, int jwttype)** ==
1576 1576  )))
1577 1577  
1578 -**Function:** Convert data to JWT format
1569 +**Function:**
1579 1579  
1571 +Convert data to JWT format
1572 +
1580 1580  **parameter:**
1581 1581  
1582 1582  //aud: //project name