Re: connection breaks after 2 seconds ?

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

 



On Tue, Aug 9, 2016 at 4:54 PM, Ajay Parashar <ajay.parasha@xxxxxxxxx> wrote:
> Hi,
>
> I have two USB Bluetooth controller and connected on same Ubuntu 15.10
> PC.(kernel  4.2.0-42)
> I want to set a connection between them using blueZ 5.35.
>
> I verified by hciconfig command
> hciconfig
> ------------------------------------------------------------------------------------------------------
> hci2: Type: BR/EDR  Bus: USB
> BD Address: 00:1A:7D:DA:71:05  ACL MTU: 310:10  SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:6922 acl:12 sco:0 events:171 errors:0
> TX bytes:5775 acl:12 sco:0 commands:112 errors:0
>
> hci1: Type: BR/EDR  Bus: USB
> BD Address: 00:1A:7D:DA:71:07  ACL MTU: 310:10  SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:2808 acl:13 sco:0 events:155 errors:0
> TX bytes:6689 acl:12 sco:0 commands:113 errors:0
> -----------------------------------------------------------------------------------------------------------
>
>
> I opened two shell session for each controller and execute bluetoothctl.
> when i executed below command then connection established only for 2
> second and then it disconnects?
>
> [bluetooth]# connect 00:1A:7D:DA:71:05
> Attempting to connect to 00:1A:7D:DA:71:05
> [CHG] Device 00:1A:7D:DA:71:05 Connected: yes
> Failed to connect: org.bluez.Error.Failed
> [CHG] Device 00:1A:7D:DA:71:05 Connected: no
>
> Please let me know why it disconnects after 2 seconds?
>
> Regards
> Ajay

This issue has solved when I executed commands with bluetoothctl
prompt in below order.

1) agent  NoInputNoOutput
2) default-agent
3) pair
4) connect

Thanks
Ajay
--
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