User's Manual

Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual
Copyright ©2012–2019Chengdu Ebyte Electronic Technology Co., Ltd
20
5.10 Multilink
5.10.1 Connection handle
1. In the module master role, multiple masters and multiple slaves coexist, and the connection handle is the number of
the specified link.
2. Normally, the link number range of the module connected in the role of master: 0 ~ 3; the link number range of the
module connected in the role of slave: 4 ~ 7.
3. In principle, the handle of each module connection is not necessarily the same.
4. Even when the device is slaved, or after the number of connections is set using the AT command, the connection
handle still complies with the second rule above.
5.10.2 Obtaining a connection handle
1. The module enables logmsg (logmsg must be turned on for multiple links) after printing. When a new link is
established, the module returns "\ r \ nSTA: connect, [handle], [MAC] \ r \ n", where handle is the connection handle
of the current link. For the sake of convenience, the connection handle is indicated by handle in the following.
2. Obtain his connection handle by instructing the MAC address of the other device (AT + LINKNUM = [mac]).
6. AT command
Notekeep module in wake-up mode before sending cooperation command.
6.1 Command instruction
There is no enter (\r) or LF(\n) required for AT command.
AT Command return info is ended with \r\nexcept for return HEX
Command error response format +ERR=[NUM].NUM is ACSII
AT command parameter format[para]. Include no [ ].
6.2 Error code
NUM Description Error reason Solution
0 Currently parsing AT
Gap between two AT commands is too
small
Proper delay is added between two
AT commands