TWS AT Command ← Bluetooth Dual-mode Module for Data and Audio
TWS | Description | Module | |
B3401 | AT+PEERSTAT | Read TWS State | |
B3402 | AT+PEERCFG | TWS Configuration <need reboot> | |
B3403 | AT+PEERINQ | Pair TWS Device | |
B3404 | AT+PEERDEV | Read/Clear TWS Paired Record | |
B3405 | AT+PEERDISC | Release TWS Connection |
B3401 AT+PEERSTAT Read TWS State
Q) AT+PEERSTAT | +PEERSTAT=Param |
Param: (0~4) (0) Unsupported |
B3402 AT+PEERCFG TWS Configuration <need reboot>
E) AT+PEERCFG{=Param} |
Param: (0/1) (0) Disable Peer TWS |
B3403 AT+PEERINQ Pair TWS Device
If set, disconnect all established connections and pair another TWS peer device
E) AT+PEERINQ=Param |
Param: (0/1) (0) Stop pair TWS device |
B3404 AT+PEERDEV Read/Clear TWS Paired Record
Set the module into TWS slave role and reboot automatically after cleared
Q) AT+PEERDEV | +PEERDEV=Param1, Param2 |
Param1: (0/1) Paired device’s role(0-slave, 1-master) Param2: (MAC) Paired device’s MAC address |
E) AT+PEERDEV{=Param } | Param:(0) Clear tws paired record |
Example |
AT+PEERDEV +PEERDEV=1,DC0D30000002 OK |
Read module’s tws paired record |
Example |
AT+PEERDEV=0 OK |
Clear module’s tws paired record |
B3405 AT+PEERDISC Release TWS Connection
Release current TWS connection with a remote device .
Q) AT+PEERDISC | +PROFILE=Param | P |