Handsfree mode (HFP)
Enable or disable the Bluetooth Hands-Free Profile. EEPROM address:0x36 (CONFIG_SETTING_HFP_ADDRESS)
Hands-Free Profile is disabled. Phone calls are not routed through the vehicle.
Hands-Free Profile is enabled. Incoming calls are routed through the vehicle’s speakers and microphone.
Dynamic profile management
When you change the HFP setting while a device is connected, BlueBus automatically manages the Bluetooth profile connection: Turning HFP off: Closes the active HFP connection- BC127 modules: Sends
BC127CommandClose()for the HFP link ID - BM83 modules: Sends
BM83CommandDisconnect()withBM83_CMD_DISCONNECT_PARAM_HF
- BC127 modules: Sends
BC127CommandProfileOpen()for “HFP” profile - BM83 modules: Sends
BM83CommandConnect()withBM83_DATA_LINK_BACK_PROFILES_HF
Microphone gain
Adjust the microphone gain level for phone calls to ensure clear audio transmission. EEPROM address:0x38 (CONFIG_SETTING_MIC_GAIN_ADDRESS)
BC127 microphone gain values
For hardware version 1.x with BC127 Bluetooth module, the microphone gain supports 22 settings (C0 through D6):| Index | Gain (dB) | EEPROM Value |
|---|---|---|
| 0 | -27 | 0x00 |
| 1 | -23 | 0x01 |
| 2 | -21 | 0x02 |
| 3 | -17 | 0x03 |
| 4 | -15 | 0x04 |
| 5 | -11 | 0x05 |
| 6 | -9 | 0x06 |
| 7 | -5 | 0x07 |
| 8 | -3 | 0x08 |
| 9 | 0 | 0x09 |
| 10 | +3 | 0x0A |
| 11 | +6 | 0x0B |
| 12 | +9 | 0x0C |
| 13 | +12 | 0x0D |
| 14 | +15 | 0x0E |
| 15 | +18 | 0x0F |
| 16 | +21 | 0x10 |
| 17 | +24 | 0x11 |
| 18 | +27 | 0x12 |
| 19 | +30 | 0x13 |
| 20 | +33 | 0x14 |
| 21 | +36 | 0x15 |
BTBC127MicGainTable[].
Some values in the table are rounded. For example, index 1 is technically -23.5dB and index 21 is technically 39.5dB (D6 setting).
BM83 microphone gain values
For hardware version 2.x with BM83 Bluetooth module, the microphone gain supports 16 settings:| Index | Gain (dB) | EEPROM Value |
|---|---|---|
| 0 | 0 (Default) | 0x00 |
| 1 | +3 | 0x01 |
| 2 | +7 | 0x02 |
| 3 | +8 | 0x03 |
| 4 | +11 | 0x04 |
| 5 | +15 | 0x05 |
| 6 | +18 | 0x06 |
| 7 | +20 | 0x07 |
| 8 | +23 | 0x08 |
| 9 | +25 | 0x09 |
| 10 | +29 | 0x0A |
| 11 | +32 | 0x0B |
| 12 | +35 | 0x0C |
| 13 | +39 | 0x0D |
| 14 | +42 | 0x0E |
| 15 | +46 | 0x0F |
BTBM83MicGainTable[].
Adjusting microphone gain
When you save a new microphone gain setting, BlueBus immediately applies it to the Bluetooth module: BC127 modules: SendsBC127CommandSetMicGain() with the gain value plus mic bias and preamp settings
BM83 modules: Calculates the offset from current gain and sends either:
BM83CommandMicGainUp()- Increases gain by 1 step (command0x24)BM83CommandMicGainDown()- Decreases gain by 1 step (command0x25)
Microphone bias (BC127 only)
Configures the microphone bias voltage for the BC127 module. EEPROM address:0x39 (CONFIG_SETTING_MIC_BIAS_ADDRESS)
This setting is used in conjunction with microphone gain when sending BC127CommandSetMicGain().
Microphone preamp (BC127 only)
Configures the microphone preamplifier setting for the BC127 module. EEPROM address:0x3B (CONFIG_SETTING_MIC_PREAMP_ADDRESS)
This setting is used in conjunction with microphone gain when sending BC127CommandSetMicGain().
Telephone volume offset
Adjust the volume offset for phone calls relative to music playback. EEPROM address:0x3A (CONFIG_SETTING_TEL_VOL_ADDRESS)
Volume offset from 0 to +15Maximum value defined as
CONFIG_SETTING_TEL_VOL_OFFSET_MAX (0x0F) at config.h:125Telephone mode
Configure how BlueBus handles telephone audio routing. EEPROM address:0x3C (CONFIG_SETTING_TEL_MODE_ADDRESS)
Standard telephone mode with proper muting and audio routingValue:
CONFIG_SETTING_TEL_MODE_DEFAULTTelephone Control Unit mode for vehicles with factory phone systemsValue:
CONFIG_SETTING_TEL_MODE_TCUDisables automatic muting during callsValue:
CONFIG_SETTING_TEL_MODE_NO_MUTERoutes telephone audio through analog connectionsValue:
CONFIG_SETTING_TEL_MODE_ANALOGTCU Mode option is hidden on BC127 (hardware version 1.x) systems as it is not necessary for that hardware configuration. The menu automatically skips this option when scrolling on BC127 systems.
TCU mode DAC volume
Special DAC volume setting used when in TCU telephone mode. EEPROM address:0x37 (CONFIG_SETTING_DAC_TEL_TCU_MODE_VOL_ADDRESS)
This separate volume setting is applied when telephone mode is set to TCU to ensure proper audio levels when interfacing with factory telephone systems.
Checking telephony features status
The system provides a helper function to check if any telephony features are active:CONFIG_SETTING_ON (0x01) if either HFP or self-play is enabled.