comparison Discovery/Inc/tComm.h @ 981:c6c781a2e85b default

Merge into default
author heinrichsweikamp
date Tue, 11 Feb 2025 18:12:00 +0100
parents 3123aa8723fd
children f1b78bc8de10 1d7c7a36df15
comparison
equal deleted inserted replaced
871:f7318457df4d 981:c6c781a2e85b
40 BM_CONFIG_ESCAPE_DELAY, 40 BM_CONFIG_ESCAPE_DELAY,
41 BM_CONFIG_SIGNAL_POLL, 41 BM_CONFIG_SIGNAL_POLL,
42 BM_CONFIG_BAUD, 42 BM_CONFIG_BAUD,
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_INIT_TRIGGER_ON = 100,
47 BM_INIT_TRIGGER_OFF,
48 BM_INIT_ECHO,
49 BM_INIT_FACTORY,
50 BM_INIT_MODE,
51 BM_INIT_BLE,
52 BM_INIT_NAME,
53 BM_INIT_SSP_IDO_OFF,
54 BM_INIT_SSP_IDO_ON,
55 BM_INIT_SSP_ID1_OFF,
56 BM_INIT_SSP_ID1_ON,
57 BM_INIT_STORE,
58 BM_INIT_RESTART,
59 BM_INIT_DONE
46 } BlueModTmpConfig_t; 60 } BlueModTmpConfig_t;
47 61
62
63 typedef enum
64 {
65 BT_CMD_ECHO,
66 BT_CMD_ESCAPE_DELAY,
67 BT_CMD_SIGNAL_POLL,
68 BT_CMD_BAUDRATE_115,
69 BT_CMD_BAUDRATE_460,
70 BT_CMD_SILENCE,
71 BT_CMD_NAME,
72 BT_CMD_EXIT_CMD
73 } BTCmd;
48 /* Exported functions --------------------------------------------------------*/ 74 /* Exported functions --------------------------------------------------------*/
49 75
50 void tComm_init(void); 76 void tComm_init(void);
51 uint8_t tComm_control(void); 77 uint8_t tComm_control(void);
52 void tComm_refresh(void); 78 void tComm_refresh(void);
53 void tComm_exit(void); 79 void tComm_exit(void);
54 void tComm_verlauf(uint8_t percentage_complete); 80 void tComm_verlauf(uint8_t percentage_complete);
55 uint8_t tComm_Set_Bluetooth_Name(uint8_t force); 81 uint8_t tComm_Set_Bluetooth_Name(uint8_t force);
82 void tComm_StartBlueModBaseInit(void);
56 void tComm_StartBlueModConfig(void); 83 void tComm_StartBlueModConfig(void);
57 void tComm_RequestBluetoothStrength(void); 84 void tComm_RequestBluetoothStrength(void);
58 85
59 #endif /* TCOMM_H */ 86 #endif /* TCOMM_H */