
WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-II
5.5. Identification of a Proteus-II device on the radio
The Proteus-II can be identified on the radio interface by its
. This
is a
Bluetooth
®
-conform MAC address, which is part of the data package sent during advertising in
ACTION_IDLE
mode. A
has the size of 6 Bytes.
In
ACTION_SCANNING
state a module listens to the data packets of all advertising modules in
range and stores their
to an internal data base. With help of a
a connection
to the corresponding device can then be established using the
command.
To simplify the identification of Proteus-II devices on the RF-interface a short user-defined
name (see
) can be given to the module, which is also part of the advertising
packet.
The
consists of the company ID 0x0018DA followed by the
of the module.
5.6. Connection based data transmission, with or without security
In the Bluetooth
®
LE standard the transmission of data typically is connection based. A connec-
tion between two devices can be secured (with or without key exchange) or unsecured (default
setting). In any case, each data packet transmitted is acknowledged on the link layer, such that
it is resent as long as a packet is lost. The following lines describe how to run the connection
setup and data transmission using the Proteus-II.
If module A is supposed to setup a connection with module B, module A can use the command
including the
of module B. If the
of module B is unknown,
a scan can be run before by module A to discover all available modules in range.
After sending the command
, the module answers with a
to
signal that the request has been understood and the module now tries to establish the connec-
tion.
If module B cannot be found on the air within a timeout, module A outputs a
with "failed" as status. Otherwise, as soon as the physical connection has been set up suc-
cessfully, module A and B print a
with the status of the successful connection
and
turns on.
Next some security and authentication messages will follow, like
, if security
is enabled.
After the physical connection has been setup successfully the modules exchange their ser-
vices. As soon as this has finished successfully, a
is given out to the
UART indicating that the connection is ready for data transmission. Furthermore,
turns
on.
Now data can be transmitted in both directions using the command
. It is con-
firmed by a
(data will be processed) and a
(data transmit-
ted successfully).
Each time data has been received a
will be output containing the transmitted
data.
As soon as one module closes the connection using a
, both modules will
inform their host by a
message that the connection is no longer open.
Order code 2608011x24010
35
Version 1.11 , July 2022