Status Or Event Printing; Operation Command - Ebyte E104-BT51 User Manual

Cc2640r2f ble5.0 low power consumption, bluetooth to serial port module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

5.13 Status or event printing

1. The command AT + LOGMSG configures the serial port printing function of status information.
2. Status information includes: connection, disconnection, wake up, and sleep.
The format is as follows:
3. Connection command, after the Bluetooth connection is established, the LINK pin outputs a low level, and after the
Bluetooth connection is disconnected, the LINK pin outputs a high level.
5.14 AT configuration
The MODE pin controls the AT configuration mode or transparent transmission mode of the module. During the
connection, the rising edge enters the transparent transmission mode, and the falling edge enters the AT mode.
The module defaults to the AT command mode in the unconnected state. At this time, the serial data will be treated as AT
commands (the module is in the wake-up mode); when the module is connected, if you want to configure AT, you need to
give MODE (DIO_13 ) The pin has a falling edge signal greater than 100ms. After detecting the falling edge, the module
enters AT configuration mode. Serial port data will not be transparently transmitted. It will be treated as an AT command.
After the configuration is completed, the MODE pin will be given a rise greater than 100ms Along the signal, the module
enters the transparent transmission mode.

6. Operation command

Note: Before sending operation commands, first ensure that the module is in wake-up mode, otherwise it will not be
able to receive configuration commands.
1. Instructions:
1.All AT commands do not need to return (\ r), line feed (\ n)
2. The return result of AT instruction ends with \ r \ n
3. The AT command format is "AT + xxx" For example:
Send the command of querying the device name"AT + NAME?"
2.Command return
Return
value
1
2
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
3-16
Status
Connection
Disconnectio
n
Wake up,
Sleep
Command does not exist
Incorrect command length (such as querying the device name: AT + NAME ?, if sent as:
Printing information
STA:connection \r\n
STA:disconnection \r\n
wakeup\r\n
sleep\r\n
Description
E104-BT51 User Manual

Advertisement

Table of Contents
loading

Table of Contents