MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x2A) Get Event Support

Lists the available trigger or action types. More...

Classes

struct  mip::commands_3dm::GetEventSupport
 

Functions

TypedResult< GetEventSupportmip::commands_3dm::getEventSupport (C::mip_interface &device, GetEventSupport::Query query, uint8_t *maxInstancesOut, uint8_t *numEntriesOut, uint8_t numEntriesOutMax, GetEventSupport::Info *entriesOut)
 

Detailed Description

Lists the available trigger or action types.

There are a limited number of trigger and action slots available in the device. Up to M triggers and N actions can be configured at once in slots 1..M and 1..N respectively. M and N are identified by the max_instances field in the response with the appropriate query selector.

Each slot can be configured as one of a variety of different types of triggers or actions. The supported types are enumerated in the response to this command. Additionally, there is a limit on the number of a given type. In other words, while the device may support M triggers in total, only a few of them maybe usable as a given type. This limit helps optimize device resources. The limit is identified in the count field.

All of the information in this command is available in the user manual. This command provides a programmatic method for obtaining the information.

Function Documentation

◆ getEventSupport()

TypedResult< GetEventSupport > mip::commands_3dm::getEventSupport ( C::mip_interface device,
GetEventSupport::Query  query,
uint8_t *  maxInstancesOut,
uint8_t *  numEntriesOut,
uint8_t  numEntriesOutMax,
GetEventSupport::Info entriesOut 
)