MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | Properties | List of all members
MbientLab.MetaWear.Sensor.IBarometerBosch Interface Reference

Absolute barometric pressure sensor by Bosch. This interface provides general access to a Bosch barometer.If you know specifically which barometer is on your board, use the appropriate subclass instead.

See also
IBarometerBme280, IBarometerBmp280
More...

Inheritance diagram for MbientLab.MetaWear.Sensor.IBarometerBosch:
MbientLab.MetaWear.IModule MbientLab.MetaWear.Sensor.IBarometerBme280 MbientLab.MetaWear.Sensor.IBarometerBmp280

Public Member Functions

void Configure (Oversampling os=Oversampling.Standard, IirFilerCoeff coeff=IirFilerCoeff._0, float standbyTime=0.5f)
 General function to configure the barometer. The closest valid standby time will be selected based on the underlying barometer which may not match the input value More...
 
void Start ()
 Start data sampling More...
 
void Stop ()
 Stop data sampling More...
 

Properties

IAsyncDataProducer Pressure [get]
 Data producer representing pressure data More...
 
IAsyncDataProducer Altitude [get]
 Data producer representing altitude data More...
 

Detailed Description

Absolute barometric pressure sensor by Bosch. This interface provides general access to a Bosch barometer.If you know specifically which barometer is on your board, use the appropriate subclass instead.

See also
IBarometerBme280, IBarometerBmp280

Member Function Documentation

◆ Configure()

void MbientLab.MetaWear.Sensor.IBarometerBosch.Configure ( Oversampling  os = Oversampling.Standard,
IirFilerCoeff  coeff = IirFilerCoeff._0,
float  standbyTime = 0.5f 
)

General function to configure the barometer. The closest valid standby time will be selected based on the underlying barometer which may not match the input value

Parameters
osOversampling mode, defaults to standard
coeffIIR coefficient, defaults to 0 (off)
standbyTimeStandby time in milliseconds (ms), defaults to 0.5ms

◆ Start()

void MbientLab.MetaWear.Sensor.IBarometerBosch.Start ( )

Start data sampling

◆ Stop()

void MbientLab.MetaWear.Sensor.IBarometerBosch.Stop ( )

Stop data sampling

Property Documentation

◆ Altitude

IAsyncDataProducer MbientLab.MetaWear.Sensor.IBarometerBosch.Altitude
get

Data producer representing altitude data

◆ Pressure

IAsyncDataProducer MbientLab.MetaWear.Sensor.IBarometerBosch.Pressure
get

Data producer representing pressure data


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