Announcement

Collapse
No announcement yet.

BlueBus: A fully integrated A2DP Bluetooth solution

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shonky
    replied
    Is it based around OpenAuto Pro or are you developing the Android Auto yourself? Because that would be a pretty big job still. I'm looking to DIY something like this

    Leave a comment:


  • t3ddftw
    replied
    Originally posted by repoman89 View Post
    Hey t3ddftw, any exclusive sneak peak m3forum progress updates on your carplay integration solution?
    I haven't made much progress as of late. I am working on the full prototype and I ran into some snags, like a lack of MCLK from the Raspberry Pi.

    We've (it's a joint venture with a fellow from outside the BMW community) also been reworking the software using a more robust and performant programming language called "Rust", and that has also been "fun".

    -Ted

    Leave a comment:


  • repoman89
    replied
    Hey t3ddftw, any exclusive sneak peak m3forum progress updates on your carplay integration solution?

    Leave a comment:


  • t3ddftw
    replied
    Originally posted by Orphee View Post

    Many thanks !
    This is amazing how much difference there is with or without CVC from correspondant pov.

    He can barely hear me without CVC, whereas with CVC it is loud and clear!
    CVC does stand for "Clear Voice Capture"

    Leave a comment:


  • Orphee
    replied
    Originally posted by t3ddftw View Post

    To close the loop here, I provided the correct license via email
    Many thanks !
    This is amazing how much difference there is with or without CVC from correspondant pov.

    He can barely hear me or has a real loud echo without CVC, whereas with CVC it is loud and clear!
    Last edited by Orphee; 06-10-2024, 08:22 AM.

    Leave a comment:


  • t3ddftw
    replied
    Originally posted by Orphee View Post
    This is a CVC license issue, I disabled CVC with "bt cvc off" and then I had sound, mic works (very bad but it works)

    I tried all licences from github, none works.
    To close the loop here, I provided the correct license via email

    Leave a comment:


  • Orphee
    replied
    This is a CVC license issue, I disabled CVC with "bt cvc off" and then I had sound, mic works (very bad but it works)

    I tried all licences from github, none works.
    Last edited by Orphee; 06-09-2024, 03:16 AM.

    Leave a comment:


  • Orphee
    replied
    OK I may I found why CVC GUI tool does not work.

    Looking at python code :



    It search for 20FABB0

    Whereas mine is actually 20FABB1

    So I replaced the condition with my value...

    Now I don't have error it terminal log anymore when I select serial port.
    But my MAC ID is not valid for CVC :

    Click image for larger version

Name:	image.png
Views:	497
Size:	14.0 KB
ID:	267446
    The license you gave me was this one :



    It may not be valid for my MAC ID actually ?
    and while trying to manually set it from command line, I broke the genuine one there was in the bluebus...

    Leave a comment:


  • Orphee
    replied
    I just found this issue :
    Hi, First of all a huge thanks to Ted for making our cars a bit more contemporary with this great device. :) I have 2 issues with BlueBus in my E39. when I make a phone call neither me nor the othe...


    It seems I have the same kind of audio issue...
    Maybe it happened when I tried to apply CVC licence manually from terminal command line and I actually broke cvc licence...

    As the GUI tool does not work, how can I check cvc licence is applied and working ?

    Edit : running "bt license cvc" from terminal gave the license you sent by mail, with the space like given

    # [681948] DEBUG: BT: R: 'CVC=XXXX XXXX XXXX XXXX XXXX' (with real values from mail)
    Last edited by Orphee; 06-08-2024, 01:05 PM.

    Leave a comment:


  • Orphee
    replied
    From ISTA TIS :

    Click image for larger version  Name:	image.png Views:	0 Size:	271.6 KB ID:	267428
    Click image for larger version  Name:	image.png Views:	0 Size:	165.6 KB ID:	267430


    Click image for larger version  Name:	image.png Views:	0 Size:	201.8 KB ID:	267429

    Edit even on Windows I can't apply cvc :

    Click image for larger version  Name:	image.png Views:	0 Size:	48.1 KB ID:	267432

    Click image for larger version  Name:	image.png Views:	0 Size:	70.2 KB ID:	267433


    # k =~=~=~=~=~=~=~=~=~=~=~= KiTTY log 2024.06.08 19:04:37 =~=~=~=~=~=~=~=~=~=~=~=
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    BlueBus Firmware: 1.3.4
    Try HELP or ?
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    # VERSION
    BlueBus Firmware: 1.3.4
    Serial Number: 1149
    Build Date: 45/20
    Hardware Revision: 1
    OK
    # bt license cvc [obfuscated]
    [360098] DEBUG: BT: W: 'LICENSE cvc=[obfuscated]'
    OK
    # [360126] DEBUG: BT: R: 'OK'

    # ?
    Available Commands:
    BOOTLOADER - Reboot into the bootloader immediately
    BT CONFIG - Get the BC127 Configuration
    BT CVC ON/OFF - Enable or Disable Clear Voice Capture
    BT HFP ON/OFF - Enable or Disable HFP. Get the HFP Status without a param.
    BT MGAIN x - Set the Mic gain to x where x is octal C0-D6
    BT MPREAMP ON/OFF - Enable the microphone pre-amp so non-OE microphones work well
    BT PAIR - Enable pairing mode
    BT NAME <name> - Set the module name, up to 32 chars
    BT REBOOT - Reboot the BC127
    BT UNPAIR - Unpair all devices from the BC127
    BT VERSION - Get the BC127 Version Info
    BT AT command> - Send raw AT command
    BT DIAL <number> <name> - Dial a number and display name
    BT REDIAL - Dial last number
    GET DAC - Get info from the PCM5122 DAC
    GET ERR - Get the Error counter
    GET IBUS - Get debug info from the IBus
    GET UI - Get the current UI Mode
    GET I2S - Read the WM8804 INT/SPD Status registers
    GET VIN - Read the stored vehicle VIN
    REBOOT - Reboot the device
    SET COMFORT BLINKERS x - Set the comfort blinkers between 1 and 8
    SET COMFORT LOCK x - Lock the car at the given KM/h. 10, 20 or OFF
    SET COMFORT UNLOCK x - Unlock the car at the given ignition position. POS0, POS1 or OFF
    SET DAC GAIN xx - Set the PCM5122 gain from 0x00 - 0xCF (higher is lower)
    SET DSP INPUT ANALOG/DIGITAL/DEFAULT - Set the CD Changer DSP input
    SET IGN ON/OFF/ALWAYSON - Send the ignition status message or configure the BlueBus to assume the ignition is always on
    SET LOG x ON/OFF - Change logging for x (BT, IBUS, SYS, UI)
    SET PWROFF ON/OFF - Enable or disable auto power off
    SET TEL ON/OFF - Enable/Disable output as the TCU
    SET TIME HH MM - Set the IKE Time
    SET UI x - Set the UI to x, where x:
    x = 1. CD53 (Business Radio)
    x = 2. BMBT (Navigation)
    x = 3. MID (Multi-Info Display)
    x = 4. BMBT / MID
    x = 5. Business Navigation (MIR)
    RESTORE - Fully Reset the BlueBus and BC127 to factory defaults
    VERSION - Get the BlueBus Hardware/Software Versions
    OK
    # BT T HFP
    HFP: On
    OK
    # BT CVC
    Command not found. Try HELP or ?
    # BT CVC
    Command not found. Try HELP or ?
    # GET DAC
    PCM5122: I2SSTAT 2F (0x5E) [0]
    PCM5122: PWRSTAT 81 (0x76) [0]
    PCM5122: Volume configured to 44
    OK
    # GET ERR
    Trap Counts:
    Oscilator Failures: 0
    Address Failures: 0
    Stack Failures: 0
    Math Failures: 0
    NVM Failures: 0
    General Failures: 0
    Last Trap: 00
    BC127 Boot Failures: 0
    OK
    # RESTORE
    [543845] DEBUG: BT: W: 'UNPAIR'
    [543855] DEBUG: BT: W: 'SET AUDIO=0 1'
    [543865] DEBUG: BT: W: 'WRITE'
    [543877] DEBUG: BT: W: 'SET AUDIO_ANALOG=1 15 1 OFF'
    [543890] DEBUG: BT: W: 'WRITE'
    [543899] DEBUG: BT: W: 'SET AUDIO_DIGITAL=2 44100 0 0 OFF'
    [543913] DEBUG: BT: W: 'WRITE'
    [543927] DEBUG: BT: W: 'SET BT_VOL_CONFIG=F 100 10 1'
    [543940] DEBUG: BT: W: 'WRITE'
    [543952] DEBUG: BT: W: 'SET PROFILES=1 0 1 0 1 1 1 1 0 0 1 0'
    [543966] DEBUG: BT: W: 'WRITE'
    [543977] DEBUG: BT: W: 'SET BT_STATE_CONFIG=2 2'
    [543989] DEBUG: BT: W: 'WRITE'
    [543998] DEBUG: BT: W: 'SET CODEC=1 OFF'
    [544008] DEBUG: BT: W: 'WRITE'
    [544017] DEBUG: BT: W: 'SET MUSIC_META_DATA=ON'
    [544029] DEBUG: BT: W: 'WRITE'
    [544037] DEBUG: BT: W: 'SET NAME=BlueBus'
    [544048] DEBUG: BT: W: 'SET NAME_SHORT=BlueBus'
    [544059] DEBUG: BT: W: 'WRITE'
    [544068] DEBUG: BT: W: 'SET HFP_CONFIG=ON ON ON ON ON OFF'
    [544087] DEBUG: BT: W: 'COD=300420'
    [544097] DEBUG: BT: W: 'WRITE'
    OK​
    I must have damaged something on the car...
    I don't know why I don't have call input audio anymore with genuine SES plugin as it used to work in my first tests before playing with wires...

    Edit : It is not car but the bluebus...

    I replugged genuine ULF bluetooth module with its SES jumper.
    Call BT Audio and mic works with BMW ULF module.

    So I probably damaged the bluebus with inverted pins on my first SES adapter build try...

    Click image for larger version  Name:	dataurl561896.jpg Views:	0 Size:	148.7 KB ID:	267437

    Edit 2 : Neither my Windows laptop or my Ubuntu desktop are able to apply cvc with GUI tool, and neither of them can connect to flash firmware, it seems to reboot to bootloader and green led blinks... but not responding then...

    Only screen / putty works for terminal log access.
    Last edited by Orphee; 06-08-2024, 12:44 PM.

    Leave a comment:


  • Orphee
    replied
    I have bt audio streaming working fine, I have music.

    Issue only occurs in call.

    Mic set to -23 yes.


    Yesterday, before I played with rewiring, with SES jumper connected to SES connector (without any depin mod) , I had call audio working but no mic...​
    So like genuine, only 6 pin audio and 3 pin power connected to bluebus.

    I don't know what I did...
    Maybe a wrong terminal command while playing with terminal... ?


    Today even if I plug everything like yesterday (genuine, no depin mod), no more call audio at all...

    And when I plug the SES adapter I built to 6 pin bluebus, it does not work either ...

    It used to work month ago before I sent back bluebus for repair with de-pin from SES connector to 6 depin connector...

    I know I did a wrong wiring yesterday when I built my SES adapter...

    I built it with pin 1 to 3 up, and 4 to 6 down, reversed form left to right...
    Pin 1 and 3 was outside 6pins audio instead of near...

    Did it damage something... Or is it only some miss programmation with terminal...
    I only recall I sent cvc terminal command you gave me by mail...

    I of course fixed my wirings and plugged back 1 and 3 to near 6-audio pin.

    I also remind I had pin 19 from SES to 4 soldered instead of 18 at first...

    Edit : when I make a call, the screen show "call" or sometime "voice assistant"

    So it seems it detect the call...

    When I hang up, the music starts again
    Last edited by Orphee; 06-08-2024, 08:12 AM.

    Leave a comment:


  • t3ddftw
    replied
    Originally posted by Orphee View Post
    Thanks ! So in any case you have to depin or use an adapter linked to bluebus.

    I probably damaged something on the car, I inverted some wires on the 6 depin...

    I reppluged it all correctly but I don't have any call sound anymore...
    No matter what...

    I still have music, but even with ses jumper and nothing connected to the 6 depij bluebus, I don't have sound anymore...

    I used to have at least remote correspondent voice working... But now nothing...
    With it without the SES jumper and with our without home made SES to 6-depin connector...
    So, to be clear, you have no inbound or outbound audio? This sounds more like a misconfiguration or license issue than anything…

    Can you make sure the mic gain is set to -23dB?

    Thanks!
    -Ted

    Leave a comment:


  • Orphee
    replied
    Thanks ! So in any case you have to depin or use an adapter linked to bluebus.

    I probably damaged something on the car, I inverted some wires on the 6 depin...

    I reppluged it all correctly but I don't have any call sound anymore...
    No matter what...

    I still have music, but even with ses jumper and nothing connected to the 6 depij bluebus, I don't have sound anymore...

    I used to have at least remote correspondent voice working... But now nothing...
    With it without the SES jumper and with our without home made SES to 6-depin connector...

    Leave a comment:


  • t3ddftw
    replied
    Originally posted by Orphee View Post
    Hi !

    @t3ddftw​ I have a question regarding phone adapter.

    Having the genuine SES jumper connected on SES connector does not make microphone works, does it ?

    Does the 6 depin connector must be plugged to the bluebus ?

    I have a SES jumper connected on SES blue 26 connector, but if I don't rewire the pins from it to the 6 depin plugged to bluebus, I can hear my friend (DSP with digital audio cable/mode enabled), but it seems mic is not working, he can't here me...

    Do I miss something ?

    Click image for larger version Name:	image.png Views:	0 Size:	944.3 KB ID:	267042

    Click image for larger version Name:	image.png Views:	0 Size:	935.5 KB ID:	267043

    Edit : I found https://www.bimmerfest.com/threads/s...stall.1307993/

    And my SES jumper is correctly wired...

    I will look at SES connector

    Edit 2 : I double check my pins and all match. my SES jumper should be OK.

    I suppose I must have an adapter cable from SES connector to 6 pin bluebus if I don't wan't to rewire manually, it is not just a matter of SES jumper... right ?

    Thanks for the tip on pin 19!

    Having the SES jumper should allow the microphone to work. Are you sure you've correctly de-pinned the 54-pin connector?

    Do you own a multimeter to check for DC voltage at the mic connector?

    Thanks!
    -Ted

    Leave a comment:


  • Orphee
    replied
    Originally posted by Orphee View Post
    t3ddftw A friend of mine would like to buy a bluebus soon.

    He (almost) have an M5 E39 from 09/1999 with DSP.

    Is DSP coaxial cable sold with bluebus does he have to request / add it in the shopping cart ? is the 6 pin connector for TCU phone included ?

    Thank you

    Edit :
    May I also suggest to add SES pin connectors option in TCU de-pinning guide ?

    Hi again !

    It seems there is a mistake on the wiki, the TEL ON PIN is written as 19 on wiki for SES connector, shouldn't it be 18 ?

    Leave a comment:

Working...
X