
4.1
STEVAL-ASTRA1B advertising packet
The
advertising packet includes the following options:
•
ble_dev_id = 0x0C
, where 0x0C =
•
ble_fw_id = 0x01
for the public firmware (
Astra1 - Asset tracking
)
•
ble_fw_id = 0xFE
for the development firmware
There are three option bytes:
•
battery level percentage
•
Enum String = Use case
(for example,
LOGISTICS
,
GOODS_MONITORING
, etc.)
•
Enum String = System Info
(for example,
Lora Joined
,
GNSS off
, etc.)
Figure 14.
STEVAL-ASTRA1B advertise
The
app adds other information, as soon as the board is recognized. The related information
is gathered from a json file downloaded from the web server (for example, firmware version, firmware name,
implemented characteristics, etc.).
4.2
Data exchange
The Bluetooth
®
Low Energy manager configures the device characteristics according to the data exchanged with
the Bluetooth
®
Low Energy master.
The
configured characteristics are:
UM3019
STEVAL-ASTRA1B advertising packet
UM3019
-
Rev 1
page 15/43