Re: Detecting presence and connecting headset when not in pairing mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29 Apr 2014, at 09:56, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote:

> Hi Jon,

Hi Luiz,

> 
> On Mon, Apr 28, 2014 at 11:37 PM, Jon Nordby <jon@xxxxxxxxxx> wrote:
>> Hi,
>> 
>> I’m using BlueZ 4.98 with Ubuntu 12.04 on an embedded device.
>> When I power up a BT headset* (A2DP) in pairing mode, the DBus signal DeviceFound is emitted on /org/bluez/PID/hci0
>> But, when I power it up in normal modus, I do not see any signals firing on DBus. However, if I use “bt-audio -c MAC” it connects successfully.
>> 
>> How am I supposed to programatically detect that the headset is present and automatically establish a connection with it?
>> 
>> * Testing with a Sony DR-BT200 right now.
> 
> You don't, the headset is to one that should reconnect if it doesn't
> there might have been some problem when you paired with it.

Ok. Does this require having a bluez agent running in addition to bluetoothd? If so, which should I use on an embedded system (no UI/session)?
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux