nRF5 SDK for Mesh v4.1.0
access_model_add_params_t Struct Reference

Access model allocation parameter structure. More...

#include <access.h>

Data Fields

access_model_id_t model_id
 SIG or Vendor Model ID.
 
uint16_t element_index
 Element index to add the model to.
 
const access_opcode_handler_tp_opcode_handlers
 Pointer to list of opcode handler callbacks. More...
 
uint32_t opcode_count
 Number of opcode handles.
 
void * p_args
 Generic argument pointer. More...
 
access_publish_timeout_cb_t publish_timeout_cb
 Timeout callback called when the publication timer expires. More...
 

Detailed Description

Access model allocation parameter structure.

Definition at line 271 of file access.h.

Field Documentation

◆ p_opcode_handlers

const access_opcode_handler_t* access_model_add_params_t::p_opcode_handlers

Pointer to list of opcode handler callbacks.

This can be specified as NULL if access_model_add_params_t::opcode_count is specified as zero.

Definition at line 281 of file access.h.

◆ p_args

void* access_model_add_params_t::p_args

Generic argument pointer.

This pointer will be supplied as an argument in the callbacks from the access layer, e.g., access_opcode_handler_cb_t. May be set to NULL if unused.

Definition at line 288 of file access.h.

◆ publish_timeout_cb

access_publish_timeout_cb_t access_model_add_params_t::publish_timeout_cb

Timeout callback called when the publication timer expires.

Set to NULL for models that doesn't support periodic publishing.

Definition at line 293 of file access.h.


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