====== Test Mode / RF Commands ======
This page documents AT commands used for test mode, RF transmission, and modulation configuration in HaLow firmware 2.x modules.
===== AT+TEST_START – Enter or Exit Test Mode =====
**Query:**
AT+TEST_START=?
**Set:**
AT+TEST_START=1 *(start test mode)*
AT+TEST_START=0 *(stop test mode)*
**Response:**
1:+TEST_START:test mode started
0:+TEST_START:test mode stopped
OK
**Notes:**
* Test mode allows RF Tx/Rx tests
* Settings are not saved after power-off
===== AT+LO_FREQ – Set Frequency in Test Mode =====
**Query:**
AT+LO_FREQ=?
**Set Frequency:**
AT+LO_FREQ=924000 *(KHz, 924 MHz)*
**Response:**
LO freq = 924000 KHz
**Notes:**
* Freq unit = KHz
* Not saved after power-off
===== AT+TX_START – Enter or Exit Tx Mode =====
**Query:**
AT+TX_START=?
**Set Tx Mode:**
AT+TX_START=1 *(start Tx)*
AT+TX_START=0 *(stop Tx)*
**Response:**
1:+TX_START:tx test started
0:+TX_START:tx test stopped
OK
**Notes:**
* Tx mode is selected while in test mode
* Rx mode remains default
* Not saved after power-off
===== AT+TX_MCS – Set Tx MCS =====
**Query:**
AT+TX_MCS=?
**Set MCS:**
AT+TX_MCS=2
**Response:**
+TX_MCS:255
OK
**Notes:**
* 255 = automatic MCS adjustment
* Range: 0~7, or 10 in 1M mode
* Fixed values override auto adjustment
* Not saved after power-off
===== Notes =====
* Test mode commands are useful for RF performance evaluation and calibration.
* Always ensure the module is in test mode before using frequency or Tx commands.
* Settings in test mode do not persist after power-off.