11#include <cfg/cs_StaticConfig.h>
12#include <cs_MemoryLayout.h>
153 uint8_t maxApps = g_MICROAPP_COUNT;
const uint16_t g_RAM_MICROAPP_AMOUNT
Amount of ram each microapp can use.
constexpr uint16_t MICROAPP_MAX_SIZE
Max flash size of a microapp, must be a multiple of flash page size.
Definition: cs_MicroappPackets.h:40
constexpr uint16_t MICROAPP_UPLOAD_MAX_CHUNK_SIZE
Max allowed chunk size when uploading a microapp.
Definition: cs_MicroappPackets.h:22
constexpr uint8_t MICROAPP_SDK_MAJOR
SDK major version of the data going back and forth between microapp and bluenet within the mutually s...
Definition: cs_MicroappPackets.h:32
const uint8_t MICROAPP_FUNCTION_NONE
Definition: cs_MicroappPackets.h:101
constexpr uint8_t MICROAPP_INDEX_NONE
Invalid microapp index.
Definition: cs_MicroappPackets.h:43
constexpr uint8_t MICROAPP_CONTROL_COMMAND_PROTOCOL
Protocol version of the communication over the command handler, the microapp command and result packe...
Definition: cs_MicroappPackets.h:27
MICROAPP_TEST_STATE
Definition: cs_MicroappPackets.h:94
@ MICROAPP_TEST_STATE_TRYING
Definition: cs_MicroappPackets.h:96
@ MICROAPP_TEST_STATE_FAILED
Definition: cs_MicroappPackets.h:97
@ MICROAPP_TEST_STATE_PASSED
Definition: cs_MicroappPackets.h:98
@ MICROAPP_TEST_STATE_UNTESTED
Definition: cs_MicroappPackets.h:95
constexpr uint8_t MICROAPP_SDK_MINOR
SDK minor version of the data going back and forth between microapp and bluenet within the mutually s...
Definition: cs_MicroappPackets.h:37
Packet with all info required to upload a microapp, and to see the status of already uploaded microap...
Definition: cs_MicroappPackets.h:150
microapp_sdk_version_t sdkVersion
Definition: cs_MicroappPackets.h:157
Definition: cs_MicroappPackets.h:81
microapp_ctrl_header_t header
Definition: cs_MicroappPackets.h:82
SDK version: determines the API / protocol between microapp and firmware.
Definition: cs_MicroappPackets.h:89
uint8_t minor
Definition: cs_MicroappPackets.h:91
uint8_t major
Definition: cs_MicroappPackets.h:90
State of tests of a microapp, also stored in flash.
Definition: cs_MicroappPackets.h:108
uint8_t checksumTest
Definition: cs_MicroappPackets.h:116
uint8_t memoryUsage
Definition: cs_MicroappPackets.h:123
uint8_t bootTest
Definition: cs_MicroappPackets.h:121
uint16_t reservedTest
Definition: cs_MicroappPackets.h:129
bool enabled
Definition: cs_MicroappPackets.h:118
bool exceededCallDuration
Definition: cs_MicroappPackets.h:127
bool hasData
Definition: cs_MicroappPackets.h:114
uint16_t checksum
Definition: cs_MicroappPackets.h:110
uint16_t checksumHeader
Definition: cs_MicroappPackets.h:112
uint8_t didReboot
Definition: cs_MicroappPackets.h:125
uint32_t passedFunctions
Definition: cs_MicroappPackets.h:135
Status of a microapp.
Definition: cs_MicroappPackets.h:141
microapp_sdk_version_t sdkVersion
Definition: cs_MicroappPackets.h:143
microapp_state_t state
Definition: cs_MicroappPackets.h:144
uint32_t buildVersion
Definition: cs_MicroappPackets.h:142
Definition: cs_MicroappPackets.h:74
microapp_ctrl_header_t header
Definition: cs_MicroappPackets.h:75
uint16_t offset
Definition: cs_MicroappPackets.h:77