Mercurial > public > ostc4
diff Discovery/Inc/tComm.h @ 400:7bcbbaa42cbf ImproveBluetooth
Added retry through power off/on cycle:
During tests sometime (<10%) the initialization of the module failed which was visible due to a deactivated Bluetooth option. Manual activation was always successfull. To improve the startup behavior a retry by using a module power off / on cycle has been added
author | ideenmodellierer |
---|---|
date | Sat, 28 Dec 2019 19:42:04 +0100 |
parents | 1db721dda682 |
children | 5e027b0f7475 |
line wrap: on
line diff
--- a/Discovery/Inc/tComm.h Sat Dec 21 20:21:26 2019 +0100 +++ b/Discovery/Inc/tComm.h Sat Dec 28 19:42:04 2019 +0100 @@ -41,8 +41,8 @@ BM_CONFIG_SIGNAL_POLL, BM_CONFIG_BAUD, BM_CONFIG_SILENCE, -// BM_CONFIG_DISABLE_EVENT, - BM_CONFIG_DONE + BM_CONFIG_DONE, + BM_CONFIG_RETRY } BlueModTmpConfig_t; /* Exported functions --------------------------------------------------------*/