[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bluetooth-dev] ask about l2cap connection
> I want to establish a l2cap connection. The following is my doing:
> 1) Add a new Ioctl--BTCONNECT_BD. In the bluetooth.c, add
> case BTCONNECT_BD:
> u8 bd_addr;
> return l2ca_connect_req(bd_addr,RFCOMM_LAYER);
> 2) In the bt_if.c add the corresponding code, and add a new function
> btcon_bd(char bd)
> 3) the compile is good.
> when i excute the "btcon_bd -a BD", in the l2ca_wait(__FUNCTION__ ":
> baseband", con) of l2ca_connect_req(), it will dead and my computer is
> I have to reboot my linux. My linux is redhat7.3, openbt is 0.08. And
> other commands is good, such as btinq, btcon...
> Who can tell me why and help me? Thanks very much.
> Best regards,
> Subing Zhang
> The University of Hong Kong
> Pokuflam Road, Hong Kong
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org