MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Lists the available trigger or action types. More...
Classes | |
struct | mip::commands_3dm::GetEventSupport |
Functions | |
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) |
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.
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 | ||
) |