====== 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) AT+APHIDE=1 (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.