On 3/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
After struggling with the pieces of documentation around, I
was able to make my cellular phone to pair with the noteboob
via a usb bt dongle.
Now it is connected. Nevertheless if I--->>>

## 00:12:d2:65:c2:03 My cell phone

NbBSD# l2ping -a 00:12:d2:65:c2:03
0 bytes from e61 seq_no=0 time=2458.346 ms result=0
0 bytes from e61 seq_no=1 time=91.986 ms result=0
0 bytes from e61 seq_no=2 time=55.169 ms result=0

this looks normal. nokia's usually do not return payload in l2cap echo
response.

NbBSD# l2control -a 00:12:d2:65:c2:03 read_Channel_List
l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03:
Network is down

for the last time, please _read_man_page_

% man l2control

-a BD_ADDR
             Connect to the local device with the specified BD_ADDR.  Example:
             -a 00:01:02:03:04:05.

the address you specify in the l2control command line is the address
of _local_ device. not remote. local means address of your bluetooth
dongle.

also l2ping will not create a l2cap connection because l2cap echo
request/response go over control l2cap channel.

just try to use

sdpcontrol to query  your phone for servies. if you see response -
then everything is working.


 and also

NbBSD# hccontrol -n ubt0hci create_connection
00:12:d2:65:c2:03
BD_ADDR: e61
Connection handle: 42
Encryption mode: Disabled [0]


why are you keep doing this? you do not have to use low level (i.e.
hci) commands to create connections etc.


max


NbBSD# hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending
Queue State


NbBSD# l2control -a 00:12:d2:65:c2:03 read_Connection_List
l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03:
Network is down

If I try

NbBSD# hccontrol -n ubt0hci create_connection e61
BD_ADDR: e61
Connection handle: 42
Encryption mode: Disabled [0]
NbBSD# hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR    Handle Type Mode Role Encrypt Pending
Queue State

Why is the L2CAP is not up?

Ciao
Vittorio
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to