Mercurial > public > ostc4
comparison Discovery/Inc/tComm.h @ 872:5e027b0f7475 Evo_2_23
Added first time initialization for new bluetooth module:
The serial numbers are not defined when the electonic is connected to power for the first time. This event is used to run a initialization sequence which sets the defaults for the bluetooth modul. At the end the module may be accessed using a default name.
author | Ideenmodellierer |
---|---|
date | Wed, 14 Aug 2024 14:41:04 +0200 |
parents | 7bcbbaa42cbf |
children | fe955104901c |
comparison
equal
deleted
inserted
replaced
870:bc6c90e20d9e | 872:5e027b0f7475 |
---|---|
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 #ifdef BOOTLOADER_STANDALONE | |
47 BM_INIT_TRIGGER_ON = 100, | |
48 BM_INIT_TRIGGER_OFF, | |
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 | |
60 #endif | |
46 } BlueModTmpConfig_t; | 61 } BlueModTmpConfig_t; |
47 | 62 |
48 /* Exported functions --------------------------------------------------------*/ | 63 /* Exported functions --------------------------------------------------------*/ |
49 | 64 |
50 void tComm_init(void); | 65 void tComm_init(void); |
51 uint8_t tComm_control(void); | 66 uint8_t tComm_control(void); |
52 void tComm_refresh(void); | 67 void tComm_refresh(void); |
53 void tComm_exit(void); | 68 void tComm_exit(void); |
54 void tComm_verlauf(uint8_t percentage_complete); | 69 void tComm_verlauf(uint8_t percentage_complete); |
55 uint8_t tComm_Set_Bluetooth_Name(uint8_t force); | 70 uint8_t tComm_Set_Bluetooth_Name(uint8_t force); |
71 void tComm_StartBlueModBaseInit(void); | |
56 void tComm_StartBlueModConfig(void); | 72 void tComm_StartBlueModConfig(void); |
57 void tComm_RequestBluetoothStrength(void); | 73 void tComm_RequestBluetoothStrength(void); |
58 | 74 |
59 #endif /* TCOMM_H */ | 75 #endif /* TCOMM_H */ |