ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
#include <ruuvi_interface_communication_ble_advertising.h>
Data Fields | |
uint8_t | addr [BLE_MAC_ADDRESS_LENGTH] |
int8_t | rssi |
RSSI of advertisement. More... | |
uint8_t | data [RUUVI_COMM_BLE_ADV_SCAN_LENGTH] |
Full payload of the advertisement. More... | |
size_t | data_len |
Length of received data. More... | |
bool | is_coded_phy |
True if Coded PHY was used. More... | |
uint8_t | primary_phy |
uint8_t | secondary_phy |
uint8_t | ch_index |
int8_t | tx_power |
Definition at line 40 of file ruuvi_interface_communication_ble_advertising.h.
uint8_t addr[BLE_MAC_ADDRESS_LENGTH] |
Definition at line 42 of file ruuvi_interface_communication_ble_advertising.h.
uint8_t ch_index |
Channel Index on which the last advertising packet is received (0-39).
Definition at line 54 of file ruuvi_interface_communication_ble_advertising.h.
uint8_t data[RUUVI_COMM_BLE_ADV_SCAN_LENGTH] |
Full payload of the advertisement.
Definition at line 44 of file ruuvi_interface_communication_ble_advertising.h.
size_t data_len |
Length of received data.
Definition at line 45 of file ruuvi_interface_communication_ble_advertising.h.
bool is_coded_phy |
True if Coded PHY was used.
Definition at line 46 of file ruuvi_interface_communication_ble_advertising.h.
uint8_t primary_phy |
Indicates the PHY on which the primary advertising packet was received. See BLE_GAP_PHYS.
Definition at line 47 of file ruuvi_interface_communication_ble_advertising.h.
int8_t rssi |
RSSI of advertisement.
Definition at line 43 of file ruuvi_interface_communication_ble_advertising.h.
uint8_t secondary_phy |
Indicates the PHY on which the secondary advertising packet was received. See BLE_GAP_PHYS. This field is set to BLE_GAP_PHY_NOT_SET if no packets were received on a secondary advertising channel.
Definition at line 49 of file ruuvi_interface_communication_ble_advertising.h.
int8_t tx_power |
TX Power reported by the advertiser in the last packet header received. This field is set to BLE_GAP_POWER_LEVEL_INVALID if the last received packet did not contain the Tx Power field.
Definition at line 56 of file ruuvi_interface_communication_ble_advertising.h.