simple FS  v0.1.0
Classes | Macros | Functions
sensor.h File Reference

Declarations of universal functions to access to values. More...

#include "file_format.h"
#include <string.h>
Include dependency graph for sensor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SensorID_t
 Description of one column (or 1 sensor) in file. More...
 
struct  SensorValue_t
 Sensor value is stored as array of bytes. More...
 
struct  SensorInterface_t
 The interface, that defines list of functions, tha have to be implemented for each type of value (or sensor), that will be inserted in file. More...
 

Macros

#define SENSOR_ID_LENGTH   8
 Length of sensor ID in bytes.
 

Functions

uint8_t get_sensor_data_length (ValueFormatMetaLength_t length_code)
 Compute real data length (in bytes) from code length. More...
 

Detailed Description

Declarations of universal functions to access to values.

Date
20. 12. 2020
Author
Juraj Dudak