ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
rt_adv_init_t Struct Reference

Initial configuration for advertisement. PHY will be transferred to GATT.
More...

#include <ruuvi_task_advertisement.h>

Data Fields

ri_radio_channels_t channels
 Radio channels, typically 37, 38, and/or 39. More...
 
uint16_t adv_interval_ms
 ms / advertisement, not counting random delay More...
 
int8_t adv_pwr_dbm
 Power to antenna, dBm. More...
 
bool is_rx_le_1m_phy_enabled
 True if 1 MBit/s PHY is enabled in receiver. More...
 
bool is_rx_le_2m_phy_enabled
 True if 2 MBit/s PHY is enabled in receiver. More...
 
bool is_rx_le_coded_phy_enabled
 True if 125 kBit/s PHY is enabled in receiver. More...
 
uint16_t manufacturer_id
 BLE SIG id of board manufacturer. More...
 
uint8_t max_adv_length
 Maximum length of advertisement data. More...
 

Detailed Description

Initial configuration for advertisement. PHY will be transferred to GATT.

Definition at line 58 of file ruuvi_task_advertisement.h.

Field Documentation

◆ adv_interval_ms

uint16_t adv_interval_ms

ms / advertisement, not counting random delay

Definition at line 61 of file ruuvi_task_advertisement.h.

◆ adv_pwr_dbm

int8_t adv_pwr_dbm

Power to antenna, dBm.

Definition at line 62 of file ruuvi_task_advertisement.h.

◆ channels

Radio channels, typically 37, 38, and/or 39.

Definition at line 60 of file ruuvi_task_advertisement.h.

◆ is_rx_le_1m_phy_enabled

bool is_rx_le_1m_phy_enabled

True if 1 MBit/s PHY is enabled in receiver.

Definition at line 63 of file ruuvi_task_advertisement.h.

◆ is_rx_le_2m_phy_enabled

bool is_rx_le_2m_phy_enabled

True if 2 MBit/s PHY is enabled in receiver.

Definition at line 64 of file ruuvi_task_advertisement.h.

◆ is_rx_le_coded_phy_enabled

bool is_rx_le_coded_phy_enabled

True if 125 kBit/s PHY is enabled in receiver.

Definition at line 65 of file ruuvi_task_advertisement.h.

◆ manufacturer_id

uint16_t manufacturer_id

BLE SIG id of board manufacturer.

Definition at line 66 of file ruuvi_task_advertisement.h.

◆ max_adv_length

uint8_t max_adv_length

Maximum length of advertisement data.

Definition at line 67 of file ruuvi_task_advertisement.h.


The documentation for this struct was generated from the following file: