IoT managed integrations End Device SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
iotmiDev_Agent_ClusterInfo Struct Reference

The struct to hold the information for a cluster. More...

#include <iotmi_device_agent.h>

Public Attributes

uint32_t clusterId
 
uint16_t revision
 
void * clusterSet
 
void * user
 
const uint32_t * allAttrIds
 
size_t allAttrIdsLen
 
const uint32_t * allCommandIds
 
size_t allCommandIdsLen
 
const uint32_t * allEventIds
 
const uint8_t * allEventFlags
 
size_t allEventIdsLen
 
iotmiDev_GetCallback(* getGetCallback )(void *clusterSet, uint32_t attrId)
 
iotmiDev_SetCallback(* getSetCallback )(void *clusterSet, uint32_t attrId)
 
iotmiDev_CommandCallback(* getCommandCallback )(void *clusterSet, uint32_t commandId)
 

Detailed Description

The struct to hold the information for a cluster.

Note
This is not intended to be used by normal users. It should only be used by generated cluster-specific sources.

Member Data Documentation

◆ allAttrIds

const uint32_t* iotmiDev_Agent_ClusterInfo::allAttrIds

pointed to some const array of all attribute ids for a cluster

◆ allCommandIds

const uint32_t* iotmiDev_Agent_ClusterInfo::allCommandIds

pointed to some const array of all command ids for a cluster

◆ allEventIds

const uint32_t* iotmiDev_Agent_ClusterInfo::allEventIds

pointed to some const array of all event ids for a cluster

◆ clusterSet

void* iotmiDev_Agent_ClusterInfo::clusterSet

pointed to the concrete cluster struct, allocated with malloc()

◆ getCommandCallback

iotmiDev_CommandCallback(* iotmiDev_Agent_ClusterInfo::getCommandCallback) (void *clusterSet, uint32_t commandId)

Get the callback for a command

Returns
NULL if the callback is not available

◆ getGetCallback

iotmiDev_GetCallback(* iotmiDev_Agent_ClusterInfo::getGetCallback) (void *clusterSet, uint32_t attrId)

Get the get callback for an attribute.

Returns
NULL if the callback is not available

◆ getSetCallback

iotmiDev_SetCallback(* iotmiDev_Agent_ClusterInfo::getSetCallback) (void *clusterSet, uint32_t attrId)

Get the set callback for an attribute.

Returns
NULL if the callback is not available

◆ user

void* iotmiDev_Agent_ClusterInfo::user

user context for this (endpoint, cluster)


The documentation for this struct was generated from the following file: