Command Sending Data - Ebyte E104-BT53C3 User Manual

Ble5.2 chip type bluetooth wireless module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd
With immediate effect;
Connects to a secondary device with a specified MAC address. Parameter 1 is omitted, and
only the MAC address to be connected is specified. The connection may fail due to connection
TIMEOUT. The connection timeout duration is 10 seconds. After the timeout, C1:02:03:04:05
CONNECT TIMEOUT is displayed. After the connection is successfully established, the last
digit of the status message is the handle that the connection is just established, and the
current transparent transmission indicates the same handle.
A master/slave role can connect to a maximum of seven slave devices, and a single master
role can connect to a maximum of eight slave devices.
Description
When the number of connections reaches the maximum, +ERR=3 is returned when you run this
command again. You need to disconnect an existing device before connecting a new one.
After the connection is initiated, wait until the connection is complete (it is best to wait
about one second after the connection information is printed, because it takes a certain
time for the host to discover services) before initiating the next connection. Otherwise,
+ERR=3 is returned.
If the primary role exceeds the maximum number of connections or the remote Bluetooth
connection has been established with the module, +ERR=3 is directly returned when using this
command.
The connect AT+SCAN instruction returns the slave device with serial number 5 in the parameter
示例

6.3.15 Command sending data

Setting
AT+SEND=[para1],[para2], <para3>
Parameters
para3: Timeout period for sending data input (The unit ranges from 1 to 5000, ms. The default
With immediate effect;
In the following example, if the specified length of sent data is entered within the specified
Description
TIMEOUT period, +OK is returned. If the specified input length is not reached after the timeout
period, RECEIVE TIMEOUT is returned.
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd
The specified MAC address of the connection is C1:02:03:04:05
Instruction: AT+ CONNECT=, C1:02:03:04:05
Command
para1: connection handle value, ranging from 1 to 8
para2: indicates the data length, ranging from 1 to 300 bytes
list
Command: AT+CONNECT =5
Back:
+OK
C1:02:03:04:05 CONNECTD C*1
Back:
+OK
C1:02:03:04:05 CONNECTD C*1
value is 500ms.)
E104-BT53C3 Manual User
Reply
+OK:success
+ERR=[NUM]:Error
21

Advertisement

Table of Contents
loading

Table of Contents