nRF5 SDK for Mesh v3.2.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_state_t state
 Internal variable. More...
 
uint32_t last_rtc_counter
 Internal variable. More...
 
bool value_updated
 Internal variable. More...
 

Detailed Description

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

Definition at line 144 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 157 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 159 of file app_onoff.h.

◆ value_updated

bool app_onoff_server_t::value_updated

Internal variable.

To flag if the received message has been processed to update the present OnOff value

Definition at line 162 of file app_onoff.h.


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

Documentation feedback | Developer Zone | Subscribe | Updated