Multilink; Connection Handle; Obtaining A Connection Handle; At Command - Ebyte E104-BT5032A/B User Manual

Nrf52832 ble5.0 low power ble to serial module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd

6.10 Multilink

6.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.

6.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]).

7. AT command

Note:keep module in wake-up mode before sending cooperation command.

7.1 Command instruction

There is no enter (\r) or LF(\n) required for AT command.
AT Command return info is ended with \r\n(except for return HEX)
Command error response format
AT command parameter format:[para]. Include no [ ].

7.2 Error code

NUM
Description
0
Currently parsing AT
Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd
+ERR=[NUM].(NUM is ACSII)
Error reason
Gap between two AT commands is too
small
E104-BT5032A User Manual
Solution
Proper delay is added between two
AT commands
21

Advertisement

Table of Contents
loading

Table of Contents