MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x11) Datastream Control

Enable/disable the selected data stream. More...

Classes

struct  mip::commands_3dm::DatastreamControl
 

Functions

TypedResult< DatastreamControlmip::commands_3dm::writeDatastreamControl (C::mip_interface &device, uint8_t descSet, bool enable)
 
TypedResult< DatastreamControlmip::commands_3dm::readDatastreamControl (C::mip_interface &device, uint8_t descSet, bool *enabledOut)
 
TypedResult< DatastreamControlmip::commands_3dm::saveDatastreamControl (C::mip_interface &device, uint8_t descSet)
 
TypedResult< DatastreamControlmip::commands_3dm::loadDatastreamControl (C::mip_interface &device, uint8_t descSet)
 
TypedResult< DatastreamControlmip::commands_3dm::defaultDatastreamControl (C::mip_interface &device, uint8_t descSet)
 

Detailed Description

Enable/disable the selected data stream.

Each data stream (descriptor set) can be enabled or disabled. The default for the device is all streams enabled. For all functions except 0x01 (use new setting), the new enable flag value is ignored and can be omitted.

Function Documentation

◆ defaultDatastreamControl()

TypedResult< DatastreamControl > mip::commands_3dm::defaultDatastreamControl ( C::mip_interface device,
uint8_t  descSet 
)

◆ loadDatastreamControl()

TypedResult< DatastreamControl > mip::commands_3dm::loadDatastreamControl ( C::mip_interface device,
uint8_t  descSet 
)

◆ readDatastreamControl()

TypedResult< DatastreamControl > mip::commands_3dm::readDatastreamControl ( C::mip_interface device,
uint8_t  descSet,
bool *  enabledOut 
)

◆ saveDatastreamControl()

TypedResult< DatastreamControl > mip::commands_3dm::saveDatastreamControl ( C::mip_interface device,
uint8_t  descSet 
)

◆ writeDatastreamControl()

TypedResult< DatastreamControl > mip::commands_3dm::writeDatastreamControl ( C::mip_interface device,
uint8_t  descSet,
bool  enable 
)