HF-LPC3X0 Series Wi-Fi&BLE User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)
- 61 -
1: UART1, 921600bps, with more system information output.
4.2.2.53.
AT+SMEM
◼
Function: Query the RAM malloc status.
◼
Format:
◆
Query Operation
AT+SMEM<CR>
+ok=<status><CR><LF><CR><LF>
◼
Parameters:
◆
status: The RAM malloc status. Ex for 1MB:
current_size:47016, max_size:41696, total_size:89984, alloc_cnt:42968, alloc_fail_cnt:0
4.2.2.54.
AT+WIFI
◼
Function: Enable/Disable Wi-Fi Command
◼
Format:
◆
Query Operation
AT+WIFI<CR>
+ok=<status> <CR><LF><CR><LF>
◆
Set Operation
AT+WIFI =<status><CR>
+ok<CR><LF><CR><LF>
◼
Parameters:
◆
status: Wi-Fi status.
UP(boot default status): Enable Wi-Fi Chip
DOWN: Disable Wi-Fi Chip, it will take several seconds(max 10) to disable
the Wi-Fi, if response with +ERR=-5 means disable failed, usually it is
already in disable status.
Note: Some Wi-Fi status change command(AT+WMODE and so on)need to reboot before
valid. But may use this command only to reboot the Wi-Fi Chip to make the corresponding
command valid.This is AT+WIFI=DOWN,AT+WSSSID to set router information and then
AT+WIFI=UP.
4.2.2.55.
AT+SMARTAPCONFIG
◼
Function: Config SmartAPLink function
◼
Format:
◆
Query Operation
AT+SMARTAPCONFIG<CR>
+ok=<status,[ap_prefix,ap_key]><CR>< LF><CR>< LF>
◆
Set Operation
AT+SMARTAPCONFIG=<status,[ap_prefix,ap_key]><CR>
+ok<CR>< LF><CR>< LF>
◼
Parameters:
◆
status: Enable/Disable SmartAPLink function