Re: [Bluez-users] BlueZ error in cc,cc,dc sequence

Michal Semler (volny.cz)
2004-04-17T07:37:46Z

There is another problem which I in mistake found.

I tried connect to my mobile phone via cc
then I moved console, remembered it and called cc second time.
It told me, that connection is created - which is right.
Then I wanted disconnect later, but I got message that there isn't any
connection, which is bad, coz devices are connected.

when calling cc/dc/cc/dc/cc/dc it works like a charm
but cc/cc/dc makes problems - can't disconnect

Michal

Dne so 17. dubna 2004 01:49 jste napsal(a):
> Hi Michal,
>
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
>
> you can't have to ACL links to the same remote device.
>
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
> > notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> > Not connected.
> > notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> > Not connected.
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
> > notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> > Not connected.
> >
> > But device is connected
>
> Check with "hcitool con" every time, because this is what the kernel
> sees and "hcitool dc" only sends the raw HCI_Disconnect command.
>
> Regards
>
> Marcel