linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] l2test problem
@ 2004-03-22  4:33 Swarup Mohalik
  2004-03-22  6:37 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Swarup Mohalik @ 2004-03-22  4:33 UTC (permalink / raw)
  To: bluez-users

I have BlueZ on a red hat 8 linux kerner 2.6.0.
I have built all the modules for bluetooth (I believe so).

I am able to send and receive to/from a Nokia 3650 via Obex Push.
I can establish a ppp connection as well and browse the web.

After all this, when I ran
    l2test -s <phone bt address>,

I get the following output
[root@lx98218 tools]# cd ../test;./l2test -s 00:60:57:4A:25:DB
l2test[11744]: Can't connect. Connection refused(111)

hcidump data

[root@lx98218 bluetooth]# hcidump
HCIDump - HCI packet analyzer ver 1.6
device: hci0 snap_len: 1028 filter: 0xffffffff
 > HCI Event: Link Key Notification(0x18) plen 23
 > HCI Event: Connect Complete(0x03) plen 11
< ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 4097 scid 0x0040
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
 > HCI Event: Command Complete(0x0e) plen 6
 > HCI Event: Number of Completed Packets(0x13) plen 5
 > HCI Event: Max Slots Change(0x1b) plen 3
 > ACL data: handle 0x0028 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 2 status 0
 > HCI Event: QoS Setup Complete(0x0d) plen 21
< HCI Command: Disconnect(0x01|0x0006) plen 3
 > HCI Event: Command Status(0x0f) plen 4
 > HCI Event: Disconn Complete(0x05) plen 4

The original l2test.c uses PSM 10, which gives identical failure.

Please give me some clue.

Thanks in advance.
Swarup Mohalik



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-22 14:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-22  4:33 [Bluez-users] l2test problem Swarup Mohalik
2004-03-22  6:37 ` Marcel Holtmann
     [not found]   ` <405EBCDD.3090402@india.hp.com>
2004-03-22 10:26     ` Marcel Holtmann
2004-03-22 10:57       ` Xavier Garreau
2004-03-22 13:39         ` Swarup Mohalik
2004-03-22 13:53           ` Xavier Garreau
2004-03-22 14:23           ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).