Mercurial > public > ostc4
changeset 397:1db721dda682 ImproveBluetooth
Added missing enum for configuration states
author | ideenmodellierer |
---|---|
date | Sun, 01 Dec 2019 19:55:15 +0100 |
parents | effa6fb9eb89 |
children | 2d980f765034 |
files | Discovery/Inc/tComm.h |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Inc/tComm.h Tue Nov 26 22:12:25 2019 +0100 +++ b/Discovery/Inc/tComm.h Sun Dec 01 19:55:15 2019 +0100 @@ -31,6 +31,20 @@ /* Includes ------------------------------------------------------------------*/ #include <stdint.h> + +/* types */ +typedef enum +{ + BM_CONFIG_OFF = 0, + BM_CONFIG_ECHO, + BM_CONFIG_ESCAPE_DELAY, + BM_CONFIG_SIGNAL_POLL, + BM_CONFIG_BAUD, + BM_CONFIG_SILENCE, +// BM_CONFIG_DISABLE_EVENT, + BM_CONFIG_DONE +} BlueModTmpConfig_t; + /* Exported functions --------------------------------------------------------*/ void tComm_init(void); @@ -39,5 +53,7 @@ void tComm_exit(void); void tComm_verlauf(uint8_t percentage_complete); uint8_t tComm_Set_Bluetooth_Name(uint8_t force); +void tComm_StartBlueModConfig(void); +void tComm_RequestBluetoothStrength(void); #endif /* TCOMM_H */