Lists the available trigger or action types. More...
Classes | |
struct | mip_3dm_get_event_support_command |
struct | mip_3dm_get_event_support_command_info |
struct | mip_3dm_get_event_support_response |
Typedefs | |
typedef struct mip_3dm_get_event_support_command | mip_3dm_get_event_support_command |
typedef struct mip_3dm_get_event_support_command_info | mip_3dm_get_event_support_command_info |
typedef uint8_t | mip_3dm_get_event_support_command_query |
typedef struct mip_3dm_get_event_support_response | mip_3dm_get_event_support_response |
Variables | |
static const mip_3dm_get_event_support_command_query | MIP_3DM_GET_EVENT_SUPPORT_COMMAND_QUERY_ACTION_TYPES = 2 |
Query the supported action types and max count for each. More... | |
static const mip_3dm_get_event_support_command_query | MIP_3DM_GET_EVENT_SUPPORT_COMMAND_QUERY_TRIGGER_TYPES = 1 |
Query the supported trigger types and max count for each. More... | |
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.
Definition at line 1319 of file commands_3dm.h.
Definition at line 1313 of file commands_3dm.h.
typedef uint8_t mip_3dm_get_event_support_command_query |
Definition at line 1303 of file commands_3dm.h.
Definition at line 1337 of file commands_3dm.h.
void extract_mip_3dm_get_event_support_command | ( | struct mip_serializer * | serializer, |
mip_3dm_get_event_support_command * | self | ||
) |
Definition at line 2729 of file commands_3dm.c.
void extract_mip_3dm_get_event_support_command_info | ( | struct mip_serializer * | serializer, |
mip_3dm_get_event_support_command_info * | self | ||
) |
Definition at line 2780 of file commands_3dm.c.
void extract_mip_3dm_get_event_support_command_query | ( | struct mip_serializer * | serializer, |
mip_3dm_get_event_support_command_query * | self | ||
) |
Definition at line 2766 of file commands_3dm.c.
void extract_mip_3dm_get_event_support_response | ( | struct mip_serializer * | serializer, |
mip_3dm_get_event_support_response * | self | ||
) |
Definition at line 2748 of file commands_3dm.c.
void insert_mip_3dm_get_event_support_command | ( | struct mip_serializer * | serializer, |
const mip_3dm_get_event_support_command * | self | ||
) |
Definition at line 2724 of file commands_3dm.c.
void insert_mip_3dm_get_event_support_command_info | ( | struct mip_serializer * | serializer, |
const mip_3dm_get_event_support_command_info * | self | ||
) |
Definition at line 2773 of file commands_3dm.c.
void insert_mip_3dm_get_event_support_command_query | ( | struct mip_serializer * | serializer, |
const mip_3dm_get_event_support_command_query | self | ||
) |
Definition at line 2762 of file commands_3dm.c.
void insert_mip_3dm_get_event_support_response | ( | struct mip_serializer * | serializer, |
const mip_3dm_get_event_support_response * | self | ||
) |
Definition at line 2735 of file commands_3dm.c.
mip_cmd_result mip_3dm_get_event_support | ( | struct mip_interface * | device, |
mip_3dm_get_event_support_command_query | query, | ||
uint8_t * | max_instances_out, | ||
uint8_t * | num_entries_out, | ||
uint8_t | num_entries_out_max, | ||
mip_3dm_get_event_support_command_info * | entries_out | ||
) |
Definition at line 2788 of file commands_3dm.c.
|
static |
Query the supported action types and max count for each.
Definition at line 1305 of file commands_3dm.h.
|
static |
Query the supported trigger types and max count for each.
Definition at line 1304 of file commands_3dm.h.