software:firmware:2.x:at-commands:advanced-networking
Table of Contents
Advanced Networking Commands
This page documents AT commands for advanced networking features in HaLow firmware 2.x modules, including TX power, ACK timeout, unpairing, AP visibility, scanning, and channel selection.
AT+TXPOWER โ Set Maximum Transmit Power
Query:
AT+TXPOWER=?
Set Power:
AT+TXPOWER=20
Response:
+TXPOWER:20dbm OK
Notes:
- Range: 1~20 dBm, step 1
- Values outside range default to 20 dBm
AT+ACK_TO โ Set ACK Timeout
Query:
AT+ACK_TO=?
Set Timeout:
AT+ACK_TO=100
Response:
+ACK_TO:extra ack timeout=0us OK
Notes:
- Value in microseconds
- Needed only for long-range links (>1 km)
- Formula: 10 ร (distance in km โ 1)
AT+UNPAIR โ Unassign STA Pairing
Query:
AT+UNPAIR=?
Set:
AT+UNPAIR=f6:de:09:75:a3:61
Response: No response
Notes:
- `mac_addr` = MAC address of the paired device
AT+APHIDE โ Hide AP Information
Query:
AT+APHIDE=?
Set:
AT+APHIDE=0
(visible)
<code>AT+APHIDE=1</code> (hidden)
Response:
+APHIDE:1 OK
AT+SCAN โ Scan Surrounding APs
Execute:
AT+SCAN
Response:
OK
Notes:
- Only works in STA mode
- Use `AT+SYSDBG=umac,1` to print scanned AP details
AT+CHANNEL โ Set Channel
Query:
AT+CHANNEL=?
Set Channel:
AT+CHANNEL=3
Response:
+CHANNEL:3 OK
Notes:
- Channel index โฅ1 and โค number of channels in `CHAN_LIST`
- Typically configured on the AP side
Notes
* Use these commands after basic networking parameters are set (SSID, key, mode, channel list). * Adjusting TX power and ACK timeout is useful for optimizing range and reliability. * AP visibility and scan functions help in network discovery and troubleshooting.
software/firmware/2.x/at-commands/advanced-networking.txt ยท Last modified: by sarahrose
