Chengdu Ebyte Electronic Technology Co.,Ltd.
E104-BT02 User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
8
5.12 Air configuration
The module supports the air configuration function. After the Bluetooth connection is established in the slave state, the host can
access the "BLE DATA CONFIG" feature value under the transparent transmission service (FFF0). The configuration steps are as
follows:
1
)、
In the air configuration login authentication, send the command <PWDXXXXXX>, where XXXXXX is the login password,
the default is 123456, and return <OK> after success.
2
)、
The parameter configuration is executed, and the command is consistent with the serial port configuration command.
3
)、
Disconnect the Bluetooth connection.
Description
:
1
)、
After the <PWDXXXXXX> command fails, the current login status will be exited immediately. That is, the configuration
operation needs to be resumed after the login is successful.
。
2
)、
After the <RESTORE> command is executed, the login password is restored to the default settings.
6 Operating Instruction
Warning: Make sure the module is in wake-up mode and enters configuration mode before sending operating instruction or it is
unable to receive any configuration instruction.
Description
:
1
、
Instruction format: the format for all operation instruction uses prefix sign ‘<’and suffix sign ‘>’,
instruction format is
<instruction>
For example, for transmitting and receiving baud rate of serial port the format is <COMBAUD>
2
、
Instruction returning
Returning value
Description
INVALID_ERR
Unrecognized instruction
HT_ERR
Unrecognized instruction or lack of prefix/suffix sign of instruction
LEN_ERR
Parameter length out of range
OK
Correct execution
3
、
Factory parameter setting
Others
Baud rate
19200bps
Calibration
NONE
Stop bit
1
Air configuration password
123456
Serial wakeup
Shut Down
Data output indication
Open
Bluetooth packet length
20
Bluetooth binding
Shut Down
Transparent Transmission
service
UUID
16 bits
Transparent Transmission UUID
0xFFF0
BLE DATA BUFF UUID
0xFFF1
CENTER UUID BUFF
0xFFF2