comparison 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
comparison
equal deleted inserted replaced
1052:3029dd4398a5 1053:36fa1c44e597
28 #ifndef TCOMM_H 28 #ifndef TCOMM_H
29 #define TCOMM_H 29 #define TCOMM_H
30 30
31 /* Includes ------------------------------------------------------------------*/ 31 /* Includes ------------------------------------------------------------------*/
32 #include <stdint.h> 32 #include <stdint.h>
33 33 #include "configuration.h"
34 34
35 /* types */ 35 /* types */
36 typedef enum 36 typedef enum
37 { 37 {
38 BM_CONFIG_OFF = 0, 38 BM_CONFIG_OFF = 0,
43 BM_CONFIG_SILENCE, 43 BM_CONFIG_SILENCE,
44 BM_CONFIG_DONE, 44 BM_CONFIG_DONE,
45 BM_CONFIG_RETRY, 45 BM_CONFIG_RETRY,
46 BM_CONFIG5_ESCAPE1 = 50, 46 BM_CONFIG5_ESCAPE1 = 50,
47 BM_CONFIG5_ESCAPE2, 47 BM_CONFIG5_ESCAPE2,
48 #ifdef ENABLE_PULSE_SENSOR_BT
49 BM_CONFIG5_CHECKMODE,
50 BM_CONFIG5_SETMODE,
51 BM_CONFIG5_WRITECONF,
52 BM_CONFIG5_RESTART,
53 #endif
48 BM_CONFIG5_BAUD, 54 BM_CONFIG5_BAUD,
49 BM_CONFIG5_DATAMODE, 55 BM_CONFIG5_DATAMODE,
50 BM_INIT_POWEROFF = 100, 56 BM_INIT_POWEROFF = 100,
51 BM_INIT_POWERON, 57 BM_INIT_POWERON,
52 BM_INIT_COMMAND_ON, 58 BM_INIT_COMMAND_ON,
73 BT_CMD_SIGNAL_POLL, 79 BT_CMD_SIGNAL_POLL,
74 BT_CMD_BAUDRATE_115, 80 BT_CMD_BAUDRATE_115,
75 BT_CMD_BAUDRATE_460, 81 BT_CMD_BAUDRATE_460,
76 BT_CMD_SILENCE, 82 BT_CMD_SILENCE,
77 BT_CMD_NAME, 83 BT_CMD_NAME,
84 #ifdef ENABLE_PULSE_SENSOR_BT
85 BT_CMD_REQMODE,
86 BT_CMD_SETMODE,
87 BT_CMD_WRITECONF,
88 BT_CMD_RESTART,
89 #endif
78 BT_CMD_EXIT_CMD 90 BT_CMD_EXIT_CMD
79 } BTCmd; 91 } BTCmd;
80 /* Exported functions --------------------------------------------------------*/ 92 /* Exported functions --------------------------------------------------------*/
81 93
82 void tComm_init(void); 94 void tComm_init(void);