SPP(BR/EDR) AT Command ← Bluetooth Dual-mode Module for Data Only
SPP(BR/EDR) | Description | Module | |
B2201 | AT+SPPSTAT | Read SPP State | |
B2202 | AT+SPPCONN | Establish SPP Connection | |
B2203 | AT+SPPDISC | Release SPP Connection | |
B2204 | AT+SPPSEND | Send Data Via SPP |
B2201 AT+SPPSTAT Read SPP State
Q) AT+SPPSTAT | +SPPSTAT=Param | Param: Refer to “Indication Table” page for state description |
B2202 AT+SPPCONN Establish SPP Connection
If the parameter does not exist, the module will attempt to connect to the last device
E) AT+SPPCONN | AT+SPPCONN=Param | Param: MAC address of target device (12 Bytes ASCII) |
B2203 AT+SPPDISC Release SPP Connection
Release current SPP connection with the remote device
E) AT+SPPDISC | Param: MAC address of target device (12 Bytes ASCII) |
B2204 AT+SPPSEND Send Data Via SPP
If throughput mode is on, this command is de-active
E) AT+SPPSEND=Param1, Param2 | AT+SPPSEND=Param1, Param2 |
Param1: Payload length (1~180) Param2: Payload (1~1808Bytes UTF8) |
Example |
AT+SPPSEND=10,1234567890 OK |
Send data “1234567890” to a remote device via SPP |