Dap_InterfaceConfigType

Module: AI libraries / Device Agent Protocol (DAP) API

DAP interface configuration structure. More…

#include <Dap.h>

Public Attributes

Name

const char *[DAP_INTERFACE_MAX_SENSORS]

SensorList
Array of sensor JSON strings (pre-formatted)

uint8

SensorCount
Number of sensors.

const char *[DAP_INTERFACE_MAX_MODELS]

ModelList
Array of model JSON strings (pre-formatted)

uint8

ModelCount
Number of models.

Dap_Interface_PropertyInfoType *[DAP_INTERFACE_MAX_PROPERTIES]

PropertyList
Array of property information pointers.

uint8

PropertyCount
Number of properties.

const Dap_Interface_InfValueInfoType *[DAP_INTERFACE_MAX_INF_VALUES]

InfValueList
Array of inference value information pointers.

uint8

InfValueCount
Number of inference values.

Detailed Description

struct Dap_InterfaceConfigType;

DAP interface configuration structure.

Contains all application-provided sensor, model, property, and inference value data.

Public Attributes Documentation

variable SensorList

const char *[DAP_INTERFACE_MAX_SENSORS] SensorList;

Array of sensor JSON strings (pre-formatted)

variable SensorCount

uint8 SensorCount;

Number of sensors.

variable ModelList

const char *[DAP_INTERFACE_MAX_MODELS] ModelList;

Array of model JSON strings (pre-formatted)

variable ModelCount

uint8 ModelCount;

Number of models.

variable PropertyList

Dap_Interface_PropertyInfoType *[DAP_INTERFACE_MAX_PROPERTIES] PropertyList;

Array of property information pointers.

variable PropertyCount

uint8 PropertyCount;

Number of properties.

variable InfValueList

const Dap_Interface_InfValueInfoType *[DAP_INTERFACE_MAX_INF_VALUES] InfValueList;

Array of inference value information pointers.

variable InfValueCount

uint8 InfValueCount;

Number of inference values.