Go to advanced search

by darko2000
Thu Sep 26, 2019 3:56 pm
Forum: Beginners
Topic: Get Bluetooth device song info through dbus
Replies: 3
Views: 481

Re: Get Bluetooth device song info through dbus

I also have some issue with with stopping simple-agent.py, if I am launching it in the background. Basically it runs gobject.MainLoop even if i kill the script from terminal. Can you give me some hints how can i cancel the connection through dbus-send? example here https://stackoverflow.com/question...
by darko2000
Thu Sep 26, 2019 3:38 pm
Forum: Beginners
Topic: Get Bluetooth device song info through dbus
Replies: 3
Views: 481

Re: Get Bluetooth device song info through dbus

Thank you very much for the reply, and lot of knowledge put in bluetooth discussion, I learned a lot from your messages. By surprise I've just found and try - its kind of possible, maybe someone will need it for later [root@archphile archie]# dbus-send --system --type=method_call --print-reply --des...
by darko2000
Thu Sep 26, 2019 6:51 am
Forum: Beginners
Topic: Get Bluetooth device song info through dbus
Replies: 3
Views: 481

Get Bluetooth device song info through dbus

Hi, I am trying to connect to the phones media player (Spotify/ Play Music) and get track info that is played Commands for control works perfectly : dbus-send --system --print-reply --dest=org.bluez /org/bluez/hci0/dev_80_4E_70_0B_E6_19 org.bluez.MediaControl1.Pause dbus-send --system --print-reply ...
by darko2000
Wed Sep 25, 2019 3:52 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 14149

Re: Bluetooth pairing using fixed PIN on bluez 5.

Yes that is correct. I also tried with Macbook. But I see your questions are leading somewhere? :)
by darko2000
Wed Sep 25, 2019 6:37 am
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 14149

Re: Bluetooth pairing using fixed PIN on bluez 5.

Yes on RPI3B with Archlinux. Purpose is audio stream from any bluetooth device to RPI. Next step is to find how to power and make discoverable and pairable adapter through this https://github.com/pauloborges/bluez/blob/master/test/test-adapter , and experiment audio controls with this https://github...
by darko2000
Wed Sep 25, 2019 2:45 am
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 14149

Re: Bluetooth pairing using fixed PIN on bluez 5.

Ok, here's what I did. Since I'm running Buster, I started out with BlueZ 5.50. Then I installed the bluez-test-scripts and gunzipped simple-agent. I made the following change: def RequestPinCode(self, device): print("RequestPinCode (%s)" % (device)) set_trusted(device) # return ask("Enter PIN Code...
by darko2000
Tue Jul 23, 2019 6:12 am
Forum: Arch
Topic: Unable to connect to RPI3+ bluetooth on Arch
Replies: 4
Views: 7725

Re: Unable to connect to RPI3+ bluetooth on Arch

SOLVED. Steps were correct only adding profile to bluealsa call was missing:

Code: Select all

"killalll bluealsa"
"bluealsa -p a2dp-sink &"
BTW with RPI 3+ onboard bluetooth sound was very choppy, didn't find any other fix than using USB dongle bluetooth
by darko2000
Thu Jul 18, 2019 9:49 am
Forum: Arch
Topic: Unable to connect to RPI3+ bluetooth on Arch
Replies: 4
Views: 7725

Re: Unable to connect to RPI3+ bluetooth on Arch

Log from bluetoothctl [bluetooth]# show Controller 43:45:C0:00:1F:AC (public) Name: archphile Alias: archphile Class: 0x00480000 Powered: yes Discoverable: no Pairable: yes UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb) UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb) ...
by darko2000
Thu Jul 18, 2019 6:37 am
Forum: Arch
Topic: Unable to connect to RPI3+ bluetooth on Arch
Replies: 4
Views: 7725

Re: Unable to connect to RPI3+ bluetooth on Arch

Well, managed to get one step forward, was able to locate and pair with bluetoothctl, but can't connect. i guess it has something to do with unable to install properly bluez-alsa lib. Idea is to stream music from Android phoney to RPI wihout pulseaudio. here are the steps that i did so far: pacman -...
by darko2000
Wed Jul 17, 2019 7:00 pm
Forum: Arch
Topic: Unable to connect to RPI3+ bluetooth on Arch
Replies: 4
Views: 7725

Unable to connect to RPI3+ bluetooth on Arch

Hi guys, I tried several ways of installing bluez packages and drivers to enable RPI for bluetooth sound receiving, but always end up in the same state (bluetoothctl : No default controller available) Things i tried: (1)5.2 prebuilt package from here https://github.com/RoEdAl/alarm-bluetoo … s/tag/v...

Go to advanced search