Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
microapp_state_t Struct Reference

State of tests of a microapp, also stored in flash. More...

#include <cs_MicroappPackets.h>

Public Attributes

uint16_t checksum
 
uint16_t checksumHeader
 
bool hasData: 1
 
uint8_t checksumTest: 2
 
bool enabled: 1
 
uint8_t bootTest: 2
 
uint8_t memoryUsage: 1
 
uint8_t didReboot: 1
 
bool exceededCallDuration: 1
 
uint16_t reservedTest: 7
 
uint8_t tryingFunction = MICROAPP_FUNCTION_NONE
 
uint8_t failedFunction = MICROAPP_FUNCTION_NONE
 
uint32_t passedFunctions
 

Detailed Description

State of tests of a microapp, also stored in flash.

Starts with all fields set to 0.

Member Data Documentation

◆ bootTest

uint8_t microapp_state_t::bootTest

◆ checksum

uint16_t microapp_state_t::checksum

◆ checksumHeader

uint16_t microapp_state_t::checksumHeader

◆ checksumTest

uint8_t microapp_state_t::checksumTest

◆ didReboot

uint8_t microapp_state_t::didReboot

◆ enabled

bool microapp_state_t::enabled

◆ exceededCallDuration

bool microapp_state_t::exceededCallDuration

◆ failedFunction

uint8_t microapp_state_t::failedFunction = MICROAPP_FUNCTION_NONE

◆ hasData

bool microapp_state_t::hasData

◆ memoryUsage

uint8_t microapp_state_t::memoryUsage

◆ passedFunctions

uint32_t microapp_state_t::passedFunctions

◆ reservedTest

uint16_t microapp_state_t::reservedTest

◆ tryingFunction

uint8_t microapp_state_t::tryingFunction = MICROAPP_FUNCTION_NONE

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