
WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-II
5.7. 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, up to 19 bytes of
user data can be placed in the Bluetooth
®
LE scan response packet, which is broadcasted
frequently without acknowledgement and without security during advertising.
If a Proteus-II is supposed to broadcast some user data the command
places the payload data, that is marked as "manufacturer data" combined with the Würth Elek-
tronik eiSos company identifier 0x031A, in the scan response packet.
If a second Proteus-II, 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.
Info
Module A
Module B
⇐
Reset both modules using
pin,
02 41 02 00 01 01 41
02 41 02 00 01 01 41
⇒
Configure
using
to "beacon rx enabled, no
filter"
02 11 02 00 0E 01
1E
⇐
from module B
02 51 01 00 00 52
⇐
Module B reset such that the change in
the user setting takes effect
(
02 41 02 00 01 01 41
⇒
Activate scanning on module B
02 09 00 00 0B
⇐
Response
02 49 01 00 00 4A
⇒
, content "
Hallo
"
02 0C 05 00
48 61
6C 6C 6F
4D
⇐
02 4C 01 00 00 4F
Order code 2608011x24010
46
Version 1.11 , July 2022