Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
bt_mesh_model Struct Reference

#include <access.h>

Data Fields

union {
   const uint16_t   id
 
   const struct bt_mesh_mod_id_vnd   vnd
 
}; 
 
uint8_t elem_idx
 
uint8_t mod_idx
 
uint16_t flags
 
struct bt_mesh_model_pub *const pub
 
uint16_t keys [CONFIG_BT_MESH_MODEL_KEY_COUNT]
 
uint16_t groups [CONFIG_BT_MESH_MODEL_GROUP_COUNT]
 
const struct bt_mesh_model_op *const op
 
const struct bt_mesh_model_cb *const cb
 
struct bt_mesh_modelnext
 
voiduser_data
 

Detailed Description

Abstraction that describes a Mesh Model instance

Field Documentation

◆ 

union { ... } bt_mesh_model::@75

◆ cb

const struct bt_mesh_model_cb* const bt_mesh_model::cb

Model callback structure.

◆ elem_idx

uint8_t bt_mesh_model::elem_idx

◆ flags

uint16_t bt_mesh_model::flags

◆ groups

uint16_t bt_mesh_model::groups[CONFIG_BT_MESH_MODEL_GROUP_COUNT]

Subscription List (group or virtual addresses)

◆ id

const uint16_t bt_mesh_model::id

SIG model ID

◆ keys

uint16_t bt_mesh_model::keys[CONFIG_BT_MESH_MODEL_KEY_COUNT]

AppKey List

◆ mod_idx

uint8_t bt_mesh_model::mod_idx

◆ next

struct bt_mesh_model* bt_mesh_model::next

◆ op

const struct bt_mesh_model_op* const bt_mesh_model::op

Opcode handler list

◆ pub

struct bt_mesh_model_pub* const bt_mesh_model::pub

Model Publication

◆ user_data

void* bt_mesh_model::user_data

Model-specific user data

◆ vnd

const struct bt_mesh_mod_id_vnd bt_mesh_model::vnd

Vendor model ID


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