Chengdu Ebyte Electronic Technology Co.,Ltd.
E104-BT40 User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
4-13
4.4 Others
The module can receive AT commands after power on for about 120ms.
It takes 1500ms for the module to power on until Bluetooth initialization is complete.
The recommended interval for BLE disconnection and reconnection is 1500ms.
5.Function description
5.1 configuration
The module supports two configuration modes: serial port configuration and air configuration (BLE). Before air
configuration, the password must be verified by AT + AUTH = 123456 (initial password) and air configuration is only
allowed afterwards. The air configuration authentication cycle is the current connection. If the device is disconnected,
re-connection requires re-authentication.
When disconnected, the module is always in configuration mode. The MODE pin is invalid at this time.
After connected successfully, determine whether the module is currently in configuration mode or data transmission
mode based on the MODE pin level. When the MODE pin is high level, it is a data transmission mode, and when it is
low level, it is a configuration mode.
When the MODE pin detects a valid change, latch the current state. The holding time for each state change is valid
for more than 200ms.
5.2 MAC Address binding
Classic Bluetooth supports MAC address binding. For example, enable MAC address binding, the device only
connects to the set MAC address.
5.3 Status or event printing
The command AT + LOGMSG configures to enable the serial port printing function of status information, which
includes: initialization, connection, disconnection, the format is as follows:
Status
Printing information
Connected
\r\nSTA:connected:[MAC]\r\n
Disconnecte
d
\r\nSTA:disconnected\r\n
5.4 Classic Bluetooth pairing
No.
Pairing mode
Description
AT command