Changes for page 01 Lua Functions
Last modified by Theodore Xu on 2023/10/26 10:51
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1496,21 +1496,33 @@ 1496 1496 ** addr1:"@B_Y0" "@B_Y1" "@B_X0" "@B_X1" 1497 1497 ** addr2:"@B_Y0" "@B_Y1" 1498 1498 * Obtaining IMEI (read only) 1499 -* 1499 +** addr_getstring("@W_HSW191",17) 1500 1500 * Obtaining ICCID (read only) 1501 +** addr_getstring("@W_HSW225",15) 1501 1501 1502 1502 ((( 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 + 1503 1503 = **9 General Functions** = 1504 1504 ))) 1505 1505 1506 1506 ((( 1507 -== ** 9.1send_sms_ira(string number, string message)** ==1521 +== **send_sms_ira(string number, string message)** == 1508 1508 ))) 1509 1509 1510 -**Function:** 1524 +**Function:** Use IRA character set to send English text messages 1511 1511 1512 -Use IRA character set to send English text messages 1513 - 1514 1514 **Parameters:** 1515 1515 1516 1516 //number: //number (up to 32 characters, the excess will be discarded) ... ... @@ -1544,13 +1544,11 @@ 1544 1544 Failed: multi 1545 1545 1546 1546 ((( 1547 -== ** 9.3sms_get_state(number id)** ==1559 +== **sms_get_state(number id)** == 1548 1548 ))) 1549 1549 1550 -**Function:** 1562 +**Function:** Get the status of the SMS 1551 1551 1552 -Get the status of the SMS 1553 - 1554 1554 **parameter:** 1555 1555 1556 1556 //id~:// SMS corresponding id ... ... @@ -1562,13 +1562,11 @@ 1562 1562 Failed: multi 1563 1563 1564 1564 ((( 1565 -== ** 9.4jwt_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)** == 1566 1566 ))) 1567 1567 1568 -**Function:** 1578 +**Function:** Convert data to JWT format 1569 1569 1570 -Convert data to JWT format 1571 - 1572 1572 **parameter:** 1573 1573 1574 1574 //aud: //project name