WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
5.5. Identification of a Proteus-III device on the radio
The Proteus-III 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 devices in
range and stores their
to an internal data base. With help of this
a con-
nection to the corresponding device can then be established using the
com-
mand.
To simplify the identification of Proteus-III 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 module’s
serial number
5.6. Connection based data transmission, with or without security
In the Bluetooth
®
LE standard the data transmission typically is connection based. A connec-
tion between two devices can be secured or unsecured (default configuration). In any case,
each data packet transmitted is acknowledged on the link layer, such that it is resent as long
as it has not been received from the receiver. The following lines describe how to run the con-
nection setup and data transmission using the Proteus-III.
If module A is supposed to setup a connection with module B, the host of module A must
send the command
including the
of module B to module A. If the
of module B is unknown, a radio scan shall be run before by module A to discover all
available Bluetooth
®
LE enabled devices in range.
After sending the command
, the module answers with a
to
signal that the request has been understood and the module tries to establish the connection.
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 output a
message 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 services
(WE SPP-like). As soon as this has finished successfully, a
message
is sent to the host indicating that the connection is ready for data transmission. In addition,
turns on.
Now, data can be transmitted in both directions using the command
. It is con-
firmed by the messages
(data will be processed) and
(data
transmitted successfully).
Each time data has been received a
message will be output containing the re-
ceived data.
Order code 2611011024000
37
Version 1.8 , July 2022