This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with Bluetopia Stack!

Other Parts Discussed in Thread: WL1835

Hi TI Expert!

I'm testing the Bluetopia stack with WL1835 cape on BeagleBone Black and I having some problems need to support to resolve:

  • Why LinuxAUDM only permit I did pair and connect direction from WL1835 to smart device and don't permit do invert direction as user can pair and connect to WL1835 from smart device normally? How to solve it?
  • With LinuxAUDM source mode feature, after connected to the external sink device liked Bluetooth speaker, I must play the music file by AUDM command, if after connected audio to external sink speaker and I want to use another program as Aplay(not AUDM command) to play the music and streaming to  sink speaker then how to do it?
  • If having a music playing already on system then when I did connected source mode to external sink speaker then is it auto switch audio stream to remote speaker?

  • Why I cannot play all .wav music file on sd memory by AUDM command to stream audio to external sink speaker while I still can play that files onboard with Aplay program and out music to speaker? It warning several errors:  WAV file audio data is not in the PCM format, WAV file audio data is not in the PCM format Frequency: 44100     Channels : 2 ,...

Please advise!

Thanks you very much!

Tri.

  • Hi,

    1. I am not sure why are you having a problem in doing this, I have initiated the LinuxAUDM as sink and was able to scan, pair and connect from the smart Phone. Have you tried the following commands on the DUT SetDiscoverable 1, SetConnectable 1, SetPairable 1 and RegisterAuthentication, before trying to scan and connect from the smart phone
    2. I don’t think this is possible with demo app that is available. But i think you can write you own app to do this.
    3. I don’t think auto switch is possible with demo app that is available.
    4. I think that is the default configuration and both DUT and remote agreed upon. you can have a look at the code for better understanding.
  • Dear Sundeep!

    Thank you very much for your answers!

    I followed your instruction and now can scan and pair from smartphone.

    Related to the music format compatible stream to external speaker I tried created a .wav file with Freq sampling rate 44100, bit resolution 16bit, stereo and can stream audio to Bluetooth sink speaker ok but I don't know why on Android phone we can play any music format type and stream audio to Sink Bluetooth without problem while with Bluetopia stack and WL1835 we must using exact format music file to streaming audio out. I guess on Android have the format converter from format curent type to .wav raw audio data before streaming while Bluetopia haven't it, right?

    With prebuilt image If I want to edit AUDM example code or write new application so how to do it? Can I do it on PC Host and copy exec file to SS1 folder without rebuilt kernel and re install module? Please advise!

    With incorporation between BLuetopia and another music player on system in Source and Sink mode, how to redirect the music stream flow from music player to Bluetooth module in source mode?

    Can BlueZ resolve all above problems?

    Thanks and Regards,

    Tri.