Mercurial > public > ostc4
diff BootLoader/Src/tComm_mini.c @ 992:39f28cd9dc46 BootloaderOstc5
Bootloader BT module initialization:
The previous version did the first initialization of the module based on the fact if a serial number is present or not. Meanwhile the serial number may be preset in the binary => use the name program flag as indicator if the module shall be initialized or not.
| author | Ideenmodellierer |
|---|---|
| date | Tue, 15 Apr 2025 21:49:42 +0200 |
| parents | aeafa631147d |
| children | f1b78bc8de10 |
line wrap: on
line diff
--- a/BootLoader/Src/tComm_mini.c Tue Apr 15 17:36:19 2025 +0200 +++ b/BootLoader/Src/tComm_mini.c Tue Apr 15 21:49:42 2025 +0200 @@ -1785,6 +1785,7 @@ if(hardwareDataGetPointer()->primarySerial != 0xFFFF) /* module reinit? => restore old name */ { gfx_number_to_string(5,1,&TxBuffer[15],hardwareDataGetPointer()->primarySerial); + hardware_programmPrimaryBluetoothNameSet(); } break; case BM_INIT_SSP_IDO_OFF: sprintf(TxBuffer,"AT+UDSC=0,0\r"); /* Disable SPP Server on ID0 */
