#include <cfg/cs_AutoConfig.h>
#include <cfg/cs_StaticConfig.h>
#include <cs_MemoryLayout.h>
#include <cstdint>
Go to the source code of this file.
◆ MICROAPP_TEST_STATE
Enumerator |
---|
MICROAPP_TEST_STATE_UNTESTED | |
MICROAPP_TEST_STATE_TRYING | |
MICROAPP_TEST_STATE_FAILED | |
MICROAPP_TEST_STATE_PASSED | |
◆ MICROAPP_CONTROL_COMMAND_PROTOCOL
constexpr uint8_t MICROAPP_CONTROL_COMMAND_PROTOCOL = 1 |
|
constexpr |
Protocol version of the communication over the command handler, the microapp command and result packets.
◆ MICROAPP_FUNCTION_NONE
const uint8_t MICROAPP_FUNCTION_NONE = 255 |
◆ MICROAPP_INDEX_NONE
constexpr uint8_t MICROAPP_INDEX_NONE = 255 |
|
constexpr |
◆ MICROAPP_MAX_SIZE
constexpr uint16_t MICROAPP_MAX_SIZE = (g_FLASH_MICROAPP_PAGES * CS_FLASH_PAGE_SIZE) |
|
constexpr |
Max flash size of a microapp, must be a multiple of flash page size.
◆ MICROAPP_SDK_MAJOR
constexpr uint8_t MICROAPP_SDK_MAJOR = 1 |
|
constexpr |
SDK major version of the data going back and forth between microapp and bluenet within the mutually shared buffers.
◆ MICROAPP_SDK_MINOR
constexpr uint8_t MICROAPP_SDK_MINOR = 0 |
|
constexpr |
SDK minor version of the data going back and forth between microapp and bluenet within the mutually shared buffers.
◆ MICROAPP_UPLOAD_MAX_CHUNK_SIZE
constexpr uint16_t MICROAPP_UPLOAD_MAX_CHUNK_SIZE = 256 |
|
constexpr |
Max allowed chunk size when uploading a microapp.
We could calculate this from MTU or characteristic buffer size for BLE, and UART RX buffer size for UART. But let's just start with a number that fits in both.