Mercurial > public > ostc4
diff Discovery/Inc/tComm.h @ 1053:36fa1c44e597 Icon_Integration
Added upload command for icon:
It is now possible to upload a custom icon which is shown during startup and while writing settings (instead of the HW string). The icons are limited to 256 colors and 800x480 pixels. The icon may not be larger than 200kByte because of storage avability. For upload the same CRC functions as for the common firmware updates are in use,
| author | Ideenmodellierer |
|---|---|
| date | Wed, 31 Dec 2025 17:49:05 +0100 |
| parents | 493a5903ec20 |
| children |
line wrap: on
line diff
--- a/Discovery/Inc/tComm.h Mon Dec 15 17:56:25 2025 +0100 +++ b/Discovery/Inc/tComm.h Wed Dec 31 17:49:05 2025 +0100 @@ -30,7 +30,7 @@ /* Includes ------------------------------------------------------------------*/ #include <stdint.h> - +#include "configuration.h" /* types */ typedef enum @@ -45,6 +45,12 @@ BM_CONFIG_RETRY, BM_CONFIG5_ESCAPE1 = 50, BM_CONFIG5_ESCAPE2, +#ifdef ENABLE_PULSE_SENSOR_BT + BM_CONFIG5_CHECKMODE, + BM_CONFIG5_SETMODE, + BM_CONFIG5_WRITECONF, + BM_CONFIG5_RESTART, +#endif BM_CONFIG5_BAUD, BM_CONFIG5_DATAMODE, BM_INIT_POWEROFF = 100, @@ -75,6 +81,12 @@ BT_CMD_BAUDRATE_460, BT_CMD_SILENCE, BT_CMD_NAME, +#ifdef ENABLE_PULSE_SENSOR_BT + BT_CMD_REQMODE, + BT_CMD_SETMODE, + BT_CMD_WRITECONF, + BT_CMD_RESTART, +#endif BT_CMD_EXIT_CMD } BTCmd; /* Exported functions --------------------------------------------------------*/
