Mercurial > public > ostc4
diff Discovery/Inc/tComm.h @ 402:44cb4e858643
Merged in Ideenmodellierer/ostc4/ImproveBluetooth (pull request #36)
ImproveBluetooth
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Sun, 05 Jan 2020 14:57:50 +0000 |
parents | 7bcbbaa42cbf |
children | 5e027b0f7475 |
line wrap: on
line diff
--- a/Discovery/Inc/tComm.h Mon Dec 02 07:56:47 2019 +0000 +++ b/Discovery/Inc/tComm.h Sun Jan 05 14:57:50 2020 +0000 @@ -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_DONE, + BM_CONFIG_RETRY +} 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 */