欢迎图片

Changes for page 01 Lua Functions

Last modified by Devin Chen on 2025/11/26 18:12

From version 5.1
edited by Devin Chen
on 2025/11/26 18:12
Change comment: There is no comment for this version
To version 2.1
edited by Devin Chen
on 2025/09/24 15:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -765,7 +765,7 @@
765 765  1: reserved
766 766  
767 767  (((
768 -== **mqtt.create(string serverurl, string clientid[, int useDomain])** ==
768 +== **mqtt.create(string serverurl, string clientid)** ==
769 769  )))
770 770  
771 771  **Function:** Create an MQTT object
... ... @@ -784,8 +784,6 @@
784 784  
785 785  //clientid//: Client ID
786 786  
787 -//int useDomain: //0: convert to IP for connection, 1: use domain name for connection.
788 -
789 789  **Return:**
790 790  
791 791  Succeed: MQTT object
... ... @@ -1782,18 +1782,16 @@
1782 1782  end
1783 1783  {{/code}}
1784 1784  
1785 -= **11 MySQL database operation** =
1783 += **11 MySQL database operation** =
1786 1786  
1787 -{{info}}
1788 -Note: E series V-box with E02 firmware doesn't support
1789 -{{/info}}
1790 -
1791 1791  == **luaMySql.init(string sourcename, string username, string password, string host, number port, string character)** ==
1792 1792  
1787 +
1793 1793  **Function:** Configure database connection parameters
1794 1794  
1795 1795  **Parameters:**
1796 1796  
1792 +
1797 1797  sourcename: Database name
1798 1798  
1799 1799  username: Connection username
... ... @@ -1818,6 +1818,7 @@
1818 1818  
1819 1819  **Parameters:**
1820 1820  
1817 +
1821 1821  statement: The given SQL statement
1822 1822  
1823 1823  **Returns:**
... ... @@ -1832,6 +1832,7 @@
1832 1832  
1833 1833  **Parameters:**
1834 1834  
1832 +
1835 1835  statement: The given SQL statement
1836 1836  
1837 1837  **Returns:**