7.2. Setup connections
7.2.1. CMD_CONNECT_REQ
This command tries to setup a connection to the Proteus-III, which is identified by the
used in the command. After the module prints a
to confirm that the
request was received, the indication message
follows which determines
whether the connection request was accepted by the other device.
In case of enabled security features (see the setting
) a
is
output in addition.
As soon as the connection setup has been completed and all services have been discovered
successfully a
is sent to the host. Now data may be sent using the
Format:
Start signal
Command
Length
BTMAC
CS
0x02
0x06
0x06 0x00
6 Bytes
1 Byte
Response (
Start signal
Command | 0x40
Length
Status
CS
0x02
0x46
0x01 0x00
1 Byte
1 Byte
Status:
0x00:
Request received, try to connect to the device with the
0x01:
Operation failed
0xFF:
Operation not permitted
7.2.2. CMD_CONNECT_IND
This telegram indicates the connection status and the
of the connected device.
This indication message is the result of a connection request (
Format:
Start signal
Command
Length
Status
BTMAC
CS
0x02
0x86
0x07 0x00
1 Byte
6 Bytes
1 Byte
Status:
0x00:
Physical connection established successfully
0x01:
Connection failed, e.g. due to a timeout (as defined by
7.2.3. CMD_SECURITY_IND
This telegram indicates the security status and the
of the connected device. This
indication message is the result of a connection request (
Format:
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
68