Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
399:523892f62ce0 | 400:7bcbbaa42cbf |
---|---|
39 BM_CONFIG_ECHO, | 39 BM_CONFIG_ECHO, |
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_DISABLE_EVENT, | 44 BM_CONFIG_DONE, |
45 BM_CONFIG_DONE | 45 BM_CONFIG_RETRY |
46 } BlueModTmpConfig_t; | 46 } BlueModTmpConfig_t; |
47 | 47 |
48 /* Exported functions --------------------------------------------------------*/ | 48 /* Exported functions --------------------------------------------------------*/ |
49 | 49 |
50 void tComm_init(void); | 50 void tComm_init(void); |