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

The data in this packet contains information about a bluetooth channel between this crownstone and the one with id sender_id. More...

#include <cs_MeshModelPackets.h>

Public Attributes

uint16_t variance: 3
 variance of the given channel, rounded to intervals: 0: [ 0 - 2^2) 1: [ 2^2 - 4^2) 2: [ 4^2 - 6^2) 3: [ 6^2 - 8^2) 4: [ 8^2 - 10^2) 5: [10^2 - 15^2) 6: [15^2 - 20^2) 7: 20^2 and over More...
 
uint16_t rssi: 7
 absolute value of the average rssi More...
 
uint16_t sampleCount: 6
 a samplecount == 0x111111, indicates the channel had at least 2^6-1 == 63 samples. More...
 

Detailed Description

The data in this packet contains information about a bluetooth channel between this crownstone and the one with id sender_id.

Member Data Documentation

◆ rssi

uint16_t rssi_data_t::rssi

absolute value of the average rssi

◆ sampleCount

uint16_t rssi_data_t::sampleCount

a samplecount == 0x111111, indicates the channel had at least 2^6-1 == 63 samples.

◆ variance

uint16_t rssi_data_t::variance

variance of the given channel, rounded to intervals: 0: [ 0 - 2^2) 1: [ 2^2 - 4^2) 2: [ 4^2 - 6^2) 3: [ 6^2 - 8^2) 4: [ 8^2 - 10^2) 5: [10^2 - 15^2) 6: [15^2 - 20^2) 7: 20^2 and over


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