nRF5 SDK for Mesh v5.0.0
Data Fields
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. More...
 
uint16_t element_index
 Element index to add the model to. More...
 
const access_opcode_handler_tp_opcode_handlers
 Pointer to list of opcode handler callbacks. More...
 
uint32_t opcode_count
 Number of opcode handles. More...
 
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

◆ model_id

access_model_id_t access_model_add_params_t::model_id

SIG or Vendor Model ID.

Definition at line 274 of file access.h.

◆ element_index

uint16_t access_model_add_params_t::element_index

Element index to add the model to.

Definition at line 276 of file access.h.

◆ 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.

◆ opcode_count

uint32_t access_model_add_params_t::opcode_count

Number of opcode handles.

Definition at line 283 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:

Documentation feedback | Developer Zone | Subscribe | Updated