SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
SensorInfo Struct Reference

Structure containing sensor identification information. More...

#include <SensorDefs.hpp>

Public Member Functions

 SensorInfo ()
 

Public Attributes

const char * manufacturer
 Manufacturer name.
 
const char * model
 Model name/identifier.
 
uint8_t i2c_address
 Default I2C address.
 
uint8_t version
 Hardware/firmware version.
 
uint32_t uid
 Unique identifier.
 
SensorType type
 Sensor type.
 

Detailed Description

Structure containing sensor identification information.

Definition at line 389 of file SensorDefs.hpp.

Constructor & Destructor Documentation

◆ SensorInfo()

SensorInfo::SensorInfo ( )
inline

Definition at line 397 of file SensorDefs.hpp.

Member Data Documentation

◆ i2c_address

uint8_t SensorInfo::i2c_address

◆ manufacturer

const char* SensorInfo::manufacturer

◆ model

const char* SensorInfo::model

Model name/identifier.

Examples
/home/runner/work/SensorLib/SensorLib/src/sensor/accelerometer/bma/SensorBMA4XX.hpp.

Definition at line 391 of file SensorDefs.hpp.

Referenced by setup(), and SensorBMA4XX::update().

◆ type

◆ uid

◆ version

uint8_t SensorInfo::version

Hardware/firmware version.

Examples
/home/runner/work/SensorLib/SensorLib/src/sensor/accelerometer/bma/SensorBMA4XX.hpp.

Definition at line 393 of file SensorDefs.hpp.

Referenced by setup(), and SensorBMA4XX::update().


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