BLE Central AT Command ← Bluetooth Dual-Mode Module for Data Only
BLE Central | Description | Modules | |
B2401 | AT+LESTAT | Read LE Central State | |
B2402 | AT+LECONN | Establish LE Central Connection | |
B2403 | AT+LESEND | Send Data Via LE Central |
B2401 AT+LESTAT Read LE Central State
Q) AT+LESTAT | +LESTAT=Param | Param: Refer to “Indication Table” page for state description |
B2402 AT+LECONN Establish LE Central Connection
If parameter 2, parameter 3, parameter 4 do not exist, the module will automatically search for the GATT service connected to the remote device
E) AT+LECONN=Param 1{,Param2,Param3,Param4} |
Param1: MAC address of target device & MAC address type (13 Bytes ASCII) Param2: Service-UUID, Support 16 Bit and 128 Bit (4 Bytes/32 Bytes ASCII) Param3: Write-UUID, Support 16 Bit and 128 Bit (4 Bytes/32 Bytes ASCII) Param4: Notify-UUID, Support 16 Bit and 128 Bit (4 Bytes/32 Bytes ASCII) |
Example |
AT+LECONN=123456ABCDEF0,FFF0,FFF2,FFF1 OK |
Specified remote device service connections |
B2403 AT+LESEND Send Data Via LE Central
If throughput mode is on, this command is de-active
E) AT+LESEND=Param1, Param2 | Param1: Payload length (1~180) Param2: Payload (1~180 Bytes UTF8) |
Example |
AT+LESEND=10,1234567890 OK |
Send data “1234567890” to remote device via LE Central |