Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
rssi_and_channel_t Struct Reference

#include <cs_RssiAndChannel.h>

Public Member Functions

 rssi_and_channel_t ()=default
 
 rssi_and_channel_t (int8_t rssi, uint8_t ch=0)
 
uint8_t getChannel () const
 
int8_t getRssi () const
 
rssi_and_channel_float_t toFloat ()
 
rssi_and_channel_float_t fallOff (float rate_db_sec, float dt_sec)
 

Public Attributes

uint8_t channel: 2
 
uint8_t rssiHalved: 6
 

Constructor & Destructor Documentation

◆ rssi_and_channel_t() [1/2]

◆ rssi_and_channel_t() [2/2]

rssi_and_channel_t::rssi_and_channel_t ( int8_t  rssi,
uint8_t  ch = 0 
)
inline

Member Function Documentation

◆ fallOff()

rssi_and_channel_float_t rssi_and_channel_t::fallOff ( float  rate_db_sec,
float  dt_sec 
)
inline

◆ getChannel()

uint8_t rssi_and_channel_t::getChannel ( ) const
inline

◆ getRssi()

int8_t rssi_and_channel_t::getRssi ( ) const
inline

◆ toFloat()

rssi_and_channel_float_t rssi_and_channel_t::toFloat ( )
inline

Member Data Documentation

◆ channel

uint8_t rssi_and_channel_t::channel

◆ rssiHalved

uint8_t rssi_and_channel_t::rssiHalved

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