NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::Sensors Namespace Reference

Classes

class  SensorBusTest
 

Functions

 TEST_F (SensorBusTest, busMustStartAndSensorControllable)
 probe the bus file descriptor and sensor address @component Util function for initializing a bus and sensor IO More...
 
 TEST_F (SensorBusTest, sensorAddressMustBeWriteable)
 probe the bus file descriptor and sensor address and write a value @component Util function for writing to a bus and sensor More...
 
 TEST_F (SensorBusTest, sensorAddressMustBeReadable)
 probe the bus file descriptor and sensor address and read a value @component Util function for reading from a sensor attached to a bus More...
 
 TEST_F (SensorBusTest, dataMustBeSameReadAfterWrite)
 probe the bus and sensor address and read a value, after writing @component Util function for reading and util for writing to a bus More...
 

Function Documentation

◆ TEST_F() [1/4]

NES::Sensors::TEST_F ( SensorBusTest  ,
busMustStartAndSensorControllable   
)

probe the bus file descriptor and sensor address @component Util function for initializing a bus and sensor IO

Returns
true, if ioctl in bus and sensor level succeeds

◆ TEST_F() [2/4]

NES::Sensors::TEST_F ( SensorBusTest  ,
dataMustBeSameReadAfterWrite   
)

probe the bus and sensor address and read a value, after writing @component Util function for reading and util for writing to a bus

Returns
true, if ioctl in bus and sensor level succeeds reading the timestamp

References apex::memcpy().

Here is the call graph for this function:

◆ TEST_F() [3/4]

NES::Sensors::TEST_F ( SensorBusTest  ,
sensorAddressMustBeReadable   
)

probe the bus file descriptor and sensor address and read a value @component Util function for reading from a sensor attached to a bus

Returns
true, if ioctl in bus and sensor level succeeds reading the timestamp

◆ TEST_F() [4/4]

NES::Sensors::TEST_F ( SensorBusTest  ,
sensorAddressMustBeWriteable   
)

probe the bus file descriptor and sensor address and write a value @component Util function for writing to a bus and sensor

Returns
true, if ioctl in bus and sensor level succeeds writing the timestamp