Announcement

Collapse
No announcement yet.

BlueBus: A fully integrated A2DP Bluetooth solution

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

    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.

    Comment


      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.

      Comment


        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:	345
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...

        Comment


          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.

          Comment


            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

            Comment


              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.

              Comment


                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"

                Comment


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

                  Comment


                    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

                    Comment


                      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

                      Comment


                        Originally posted by Shonky View Post
                        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
                        No, the goal for now is to only use the Raspberry Pi video stream to display the CarPlay / AA UI. The UI will by and large still be run by the factory Navi / Video Module.

                        Overtime, it'll make sense to replace the GT UI with a more advanced replica, but it'll be fully custom.

                        Thanks!
                        -Ted

                        Comment


                          Originally posted by t3ddftw View Post

                          No, the goal for now is to only use the Raspberry Pi video stream to display the CarPlay / AA UI. The UI will by and large still be run by the factory Navi / Video Module.

                          Overtime, it'll make sense to replace the GT UI with a more advanced replica, but it'll be fully custom.

                          Thanks!
                          -Ted
                          Yes that's all Android Auto and Carplay are. Essentially a dumb screen mirror - all the heavy lifting is done on the phone. Presumably you're using a Carlinkit dongle for Carplay but what about Android Auto to emulate the Android Auto "interface" to the phone?

                          Comment


                            Originally posted by Shonky View Post

                            Yes that's all Android Auto and Carplay are. Essentially a dumb screen mirror - all the heavy lifting is done on the phone. Presumably you're using a Carlinkit dongle for Carplay but what about Android Auto to emulate the Android Auto "interface" to the phone?
                            I am using a CarlinKit, but the device also does Android Auto out of the box, so I don't need to implement anything extra

                            -Ted

                            Comment


                              Originally posted by Der_Spanier View Post
                              I received my BlueBus back at the end of August and I still haven't installed it 🤦‍♂️

                              Today I finally got everything ordered to retrofit my E46 320d Touring with the CD-changer pre-wiring and the OEM microphone. Once it's in the car, I'll try to post a summary of what I did in order to get it all installed OEM-style. I was going to place the BlueBus in the space behind the glovebox used to mount extra modules but I finally decided to challenge myself and wire everything to the boot. It will be easier to update the BlueBus from there and things are tight enough under the dashboard as it is, no need to add yet another item.

                              Here's a list of the parts I ordered:

                              - OEM steering column-mounted mic for E46 convertible and Z4 (improved reception and easier to mount since I haven't got any holes in my headliner): 84 31 6 937 391
                              - Steering column upper trim piece with hole for mic: 32 31 6 765 803
                              - CD changer connection cable: 61 12 8 374 683
                              - CD changer power and I-BUS cable: 61 12 9 410 959
                              - 2x round pins for Telephone ON and Telephone -> Radio MUTE signals at X18126: 61 13 5 A07 B73
                              - Pins for the Mic +ve/-ve, Tel. audio +ve/-ve: 61 13 0 005 197
                              - 0,35 mm² wires to build up the telephone function cable

                              I'll keep you posted with my progress, I cannot wait to have all this new functionality in the Touring!
                              Hello der_spanier and Ted!
                              Im going through "connecting Bluebus to EU E46 without CD changer prewiring" pain, and id like to ask you for help and advice.
                              Im not sure from your posts, if you have 16:9 sat nav. I do, so my radio module is in the trunk. I also have factory phone module wired and installed, but i dont care about phone function for now.
                              My question is, if i have radio in the trunk is it really necessary to connect the CD changer wire from boot to my MKIV sat nav with cable 1, or is it enough to connect cable nr. 2 to the radio unit, get power cable splitter and all signals will be transfered to sat nav head unit by the already connect cable from radio? Thanks a lot in advance!



                              nr. 2 https://www.ecstuning.com/b-genuine-...1126904074/​

                              Comment


                                Originally posted by l4ma View Post

                                Hello der_spanier and Ted!
                                Im going through "connecting Bluebus to EU E46 without CD changer prewiring" pain, and id like to ask you for help and advice.
                                Im not sure from your posts, if you have 16:9 sat nav. I do, so my radio module is in the trunk. I also have factory phone module wired and installed, but i dont care about phone function for now.
                                My question is, if i have radio in the trunk is it really necessary to connect the CD changer wire from boot to my MKIV sat nav with cable 1, or is it enough to connect cable nr. 2 to the radio unit, get power cable splitter and all signals will be transfered to sat nav head unit by the already connect cable from radio? Thanks a lot in advance!



                                nr. 2 https://www.ecstuning.com/b-genuine-...1126904074/​
                                Howdy!

                                You DO NOT need to run the cable through the cabin tot he back of the monitor -- that longer cable only exists for non-Nav cars where the radio is obviously in the dashboard.

                                Unless you have a 1999-2001 E46, that's the wrong cable. I don't believe BMW sells the LCI "flat pin radio" version of that cable...

                                If your car has the phone module, and if you ordered the 54-pin adapter for the BlueBus, then we can steal power, ground and I/K-Bus from there. I can make this cable for you as well as the audio cable to run from the BlueBus to the radio.

                                I don't really advertise it but I make custom wiring for customers who are missing pre-wiring for pretty cheap.

                                -Ted

                                Comment

                                Working...
                                X