
RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
17
rak_socket_close
Close an opened socket handle
rak_get_tcps
Gets the number and the information for the
tcp sever to connect to client
rak_send_data
Send data to an opened socket handle
rak_read_data
Read command returns / network data /
network information
Save parameters commands
rak_storeconfig_data
Store network configuration parameters
rak_storeconfig
Store the current network parameters
rak_web_store
Store web server built-in parameters
rak_auto_connect
Enable automatically connecting
rak_start_web
Start web server and configure module
rak_get_storeconfig
Get saved network parameters
rak_get_webconfig
Get web server built-in parameters
4.1 Module Management Commands
4.1.1 Initializing Module
Command:
rak_sys_init
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xA0,0x00,0x00,0x00
Command Code
Description:
It is used to initialize module, and read boot information.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xA0,0x00
Response Code
<DATA>
17
Welcome to RAK411
Welcome string
<STATUS>
1
0
Command successful
-2
Command failed