5.5. Unidirectional connectionless data transmission using Beacons
Besides the connection-based type of data transmission described in the previous section,
there exists a second method that uses so called Beacons. In this case, a limited amount of
user data can be placed in the Bluetooth
®
LE scan response packet, which is broadcasted
frequently without acknowledgement and without security.
If a Proteus-III is supposed to broadcast some data, the command
can
be used to place user data in the scan response packet, that is sent if the module is adver-
tising.
If a second Proteus-III, which has its Beacon-function enabled (see
), is in
the operating state
ACTION_SCANNING
, the scan response packet and the containing beacon
data is received. Filtering the beacon messages can be enabled or disabled using the user
setting
After the reception of the beacon data, it is output to the connected host using a
message.
To set the module into
ACTION_SCANNING
mode the command
has to
be used. Enable the Beacon-function before by setting the corresponding value in the
parameter.
This method is very suitable for sensor networks, which frequently send their
data to data collectors. Especially when using a slow
mode,
data can be transmitted in very energy efficient way.
Please check the settings
and the advertising inter-
val in
to configure the frequency and interval of transmissions
which will have an influence on the current consumption of the module.
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
53