fetcher 0.0.0
A command line utility for reading sensor data over I2C and providing it over stdout.
SensorTagData Struct Reference

#include <sensor_api.h>

Data Fields

const char * name
 
const char * unit
 
const char * fmt_str
 
const size_t dsize
 
const SensorTagDType dtype
 
const uint8_t has_id
 

Detailed Description

Stores information about each tag.

Field Documentation

◆ dsize

const size_t SensorTagData::dsize

The size of the data this tag is associated with.

◆ dtype

const SensorTagDType SensorTagData::dtype

The C data type this data is associated with.

◆ fmt_str

const char* SensorTagData::fmt_str

The format string used to print the data associated with the tag.

◆ has_id

const uint8_t SensorTagData::has_id

Whether or not the data type is preceded by a unique numerical ID.

◆ name

const char* SensorTagData::name

The name of the data the tag is associated with.

◆ unit

const char* SensorTagData::unit

The name of the unit the tag's measurements are measured in.


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