HF-FDO2 Driver 0.1.0-dev
UART driver for PyroScience FDO2-G2 (data sheet v5 §4: #MOXY, #MRAW, #VERS)
Loading...
Searching...
No Matches
fdo2::VersionInfo Struct Reference

#VERS D N R S fields (FDO2-G2 data sheet §4.3). More...

#include <fdo2_types.hpp>

Public Attributes

int32_t device_id {}
 D (8 for FDO2-G2).
 
int32_t num_channels {}
 N (1 for FDO2-G2).
 
int32_t firmware_revision {}
 R (e.g. 328 → 3.28).
 
int32_t sensor_types {}
 S bit mask: bit0 O2, bit1 temp housing, bit2 pressure, bit3 RH.
 

Detailed Description

#VERS D N R S fields (FDO2-G2 data sheet §4.3).

Firmware revision R is encoded as integer hundreds, e.g. R=328 → 3.28. Expected for FDO2-G2: D=8, N=1, S=15 when all internal sensors are present.

Member Data Documentation

◆ device_id

int32_t fdo2::VersionInfo::device_id {}

D (8 for FDO2-G2).

◆ firmware_revision

int32_t fdo2::VersionInfo::firmware_revision {}

R (e.g. 328 → 3.28).

◆ num_channels

int32_t fdo2::VersionInfo::num_channels {}

N (1 for FDO2-G2).

◆ sensor_types

int32_t fdo2::VersionInfo::sensor_types {}

S bit mask: bit0 O2, bit1 temp housing, bit2 pressure, bit3 RH.


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