SPP(BR/EDR) AT Command ← Bluetooth Dual-mode Modules for the Data and Audio
SPP(BR/EDR) | Description | Module | |
B3601 | AT+SPPSTAT | Read SPP State | |
B3602 | AT+SPPCONN | Establish SPP Connection | |
B3603 | AT+SPPDISC | Release SPP Connection | |
B3604 | AT+SPPSEND | Send Data Via SPP |
B3601 AT+SPPSTAT Read SPP State
Q) AT+SPPSTAT | +SPPSTAT=Param | Param: Refer to “Indication Table” page for state description |
B3602 AT+SPPCONN Establish SPP Connection
If target device is mobile phone, mobile phone must have initialized a RFCOMM service before this
E) AT+SPPCONN | AT+SPPCONN=Param | Param: MAC address of target device (12 Bytes ASCII) |
B3603 AT+SPPDISC Release SPP Connection
Release current SPP connection with remote device
E) AT+SPPDISC | Param: MAC address of target device (12 Bytes ASCII) |
B3604 AT+SPPSEND Send Data Via SPP
If throughput mode is on, this command is de-active
E) AT+SPPSEND | AT+SPPSEND=Param1, Param2 |
Param1: Payload length (1~236) Param2: Payload (1~236Bytes UTF8) |
Example |
AT+SPPSEND=10,1234567890 OK |
Send data “1234567890” to a remote device via SPP |