Giter Site home page Giter Site logo

pairing procedure about cornrow HOT 3 CLOSED

robaru avatar robaru commented on June 7, 2024
pairing procedure

from cornrow.

Comments (3)

mincequi avatar mincequi commented on June 7, 2024

Hi,
which exact Android device do you use? Which distribution do you use on your RasPi?

Sometimes android devices seem to show two devices (the streaming sink AND the eq control sink). You have to connect the correct one. Usually (and working correct on iOS) the eq control device should not show up in the list of pairable devices.

You can also try to restart cornrowd since there might be a system-wide timeout for device pairing.
Also consider restarting the bluez daemon.

With the thirdparty lib bluez-qt there is a test app provided called: mediaendpointconnector.
Can you try running this one (cornrowd has to be stopped before) and paste the output here?

from cornrow.

robaru avatar robaru commented on June 7, 2024

Hi,
I am using an Android Xperia L1 with Android 7. The distribution is Raspian (updated).

Your daemon is showing the streaming sink occasionally while more often I can detect the eq control.

By checking the bluetooth status I obtain:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-01-11 12:18:47 GMT; 5 days ago
     Docs: man:bluetoothd(8)
 Main PID: 357 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─357 /usr/lib/bluetooth/bluetoothd

Jan 11 12:18:47 raspberrypi bluetoothd[357]: Bluetooth management interface 1.14 initialized
Jan 11 12:18:47 raspberrypi bluetoothd[357]: Failed to obtain handles for "Service Changed" characteristic
Jan 11 12:18:47 raspberrypi bluetoothd[357]: Sap driver initialization failed.
Jan 11 12:18:47 raspberrypi bluetoothd[357]: sap-server: Operation not permitted (1)
Jan 11 12:18:48 raspberrypi bluetoothd[357]: Failed to set privacy: Rejected (0x0b)
Jan 11 12:18:48 raspberrypi bluetoothd[357]: Endpoint registered: sender=:1.3 path=/MediaEndpoint/Sink/Sbc
Jan 16 21:53:01 raspberrypi bluetoothd[357]: /org/bluez/hci0/dev_D4_38_9C_31_7F_65/fd0: fd(22) ready
Jan 16 21:55:57 raspberrypi bluetoothd[357]: Endpoint unregistered: sender=:1.3 path=/MediaEndpoint/Sink/Sbc
Jan 16 21:56:04 raspberrypi bluetoothd[357]: Endpoint registered: sender=:1.12 path=/MediaEndpoint/Sink/Sbc
Jan 16 22:04:00 raspberrypi bluetoothd[357]: Endpoint unregistered: sender=:1.12 path=/MediaEndpoint/Sink/Sbc

About the bluez test: can you point me out how to find the compiled file?

Thank you so much for the support.

Roberto

from cornrow.

mincequi avatar mincequi commented on June 7, 2024

Hi,
did you also update the bluez daemon? AFAIR, the bluez daemon was heavily patched for RasPi and a newer version (from debian testing) might not work.

What i can see from the logs is, that the Endpoint gets unregistered (in the last line).
You can also try to start my daemon as regular app (not in daemon mode). This might need super user privileges.

Within cornrowd, i disabled building tests for the bluez-qt lib. You need to get it from https://github.com/KDE/bluez-qt and build the whole library and within your build folder you will find the test binary.

Btw. did you manage to get another bluetooth audio sink up and running?

Sorry for inconvenience, i guess i need to add some more diagnostics, like logging, to my daemon.

from cornrow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.