nRF5 SDK for Mesh v5.0.0
Data Fields
app_onoff_server_t Struct Reference

Application level structure holding the OnOff server model context and OnOff state representation. More...

#include <app_onoff.h>

Data Fields

generic_onoff_server_t server
 OnOff server model interface context structure.
 
app_timer_id_t const * p_timer_id
 APP timer instance pointer.
 
app_onoff_set_cb_t onoff_set_cb
 Callaback to be called for informing the user application to update the value.
 
app_onoff_get_cb_t onoff_get_cb
 Callback to be called for requesting current value from the user application.
 
app_onoff_transition_cb_t onoff_transition_cb
 Callaback to be called for informing the user application to update the value.
 
app_onoff_state_t state
 Internal variable. More...
 
uint32_t last_rtc_counter
 Internal variable. More...
 
app_scene_model_interface_t scene_if
 Internal variable. More...
 
app_scene_setup_server_t * p_app_scene
 Internal variable. More...
 

Detailed Description

Application level structure holding the OnOff server model context and OnOff state representation.

Definition at line 170 of file app_onoff.h.

Field Documentation

◆ state

app_onoff_state_t app_onoff_server_t::state

Internal variable.

Representation of the OnOff state related data and transition parameters required for behavioral implementation, and for communicating with the application

Definition at line 185 of file app_onoff.h.

◆ last_rtc_counter

uint32_t app_onoff_server_t::last_rtc_counter

Internal variable.

It is used for acquiring RTC counter value.

Definition at line 187 of file app_onoff.h.

◆ scene_if

app_scene_model_interface_t app_onoff_server_t::scene_if

Internal variable.

Scene callback interface.

Note
Available only if SCENE_SETUP_SERVER_INSTANCES_MAX is equal or larger than 1.

Definition at line 191 of file app_onoff.h.

◆ p_app_scene

app_scene_setup_server_t* app_onoff_server_t::p_app_scene

Internal variable.

Pointer to app_scene context.

Note
Available only if SCENE_SETUP_SERVER_INSTANCES_MAX is equal or larger than 1.

Definition at line 194 of file app_onoff.h.


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

Documentation feedback | Developer Zone | Subscribe | Updated