![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Public Member Functions | |
String | set (String) |
String | set (String, int) |
String | set (String, int, int) |
String | set (int) |
String | set (int, int) |
addr | String String type. The maximum length is 700 bytes. It should be started with "HTTP://" or "HTTPS://", for example: "HTTP://<HTTP_server_URL>:<HTTP_port>/<HTTP_file_path>". The maximum length is 700 bytes. It should be started with "CoAP://" or " CoAPS://", for example: "CoAP://<CoAP_server_URL>:< CoAP_port>/<CoAP_file_path>". |
addr | String String type. "COM:" |
file_size | int Integer type. The file size expected to be uploaded. Unit: byte. |
timeout | int Integer type. The time waiting for data to be inputted to USB/UART. The default value is 5. Unit: seconds. |
String set | ( | int | ) |
para1 | int Integer type. 1 Start update 2 Reserved 3 Configure whether to trigger DFOTA update immediately after DFOTA package is download 4 Get the size of local DFOTA package 5 Delete the local DFOTA package |
String set | ( | int | , |
int | |||
) |
para1 | int Integer type. 1 Start update 2 Reserved 3 Configure whether to trigger DFOTA update immediately after DFOTA package is download 4 Get the size of local DFOTA package 5 Delete the local DFOTA package |
para2 | int if <para1>=3, 0 Trigger DFOTA update triggered manually with AT+QFOTADL=1. 1 DFOTA update triggered automatically after package downloaded. if <para1>=4, <para2> represents the size of local DFOTA package. |