scanning possible, but no l2ping?
Hi,
My problem with my two bluetooth adapter is, it's possible to scan the area und I get the right result, but it isn't possible to execute l2ping? I've a desktop computer and my crappy linux watch ... only with the desktop i've hcidump yet.
I hope it is something with the config wrong?!
Franz
DESKTOP:
========
[root@dervish root]# hciconfig -a
hci0: Type: USB
BD Address: 00:0F:3D:0B:EE:6C ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN AUTH ENCRYPT
RX bytes:1004 acl:0 sco:0 events:31 errors:0
TX bytes:379 acl:0 sco:0 commands:21 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'dervish-0'
Class: 0x120104
Service Classes: Networking, Object Transfer
Device Class: Computer, Desktop workstation
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)
[root@dervish root]# hcitool scan
Scanning ...
00:60:57:01:10:AE WatchPad_15
[root@dervish root]# l2ping 00:60:57:01:10:AE
Can't connect.: Connection timed out
hcidump (desktop) during try to execute l2ping from desktop to watch:
------------------------------------------------------------------------
[root@dervish sbin]# ./hcidump
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection(0x01|0x0005) plen 13
Quoted 3 lines
HCI Event: Command Status(0x0f) plen 4 HCI Event: Link Key Request(0x17) plen 6 HCI Event: Connect Complete(0x03) plen 11
WATCH:
======
# ./hciconfig -a
hci0: Type: UART
BD Address: 00:60:57:01:10:AE ACL MTU: 384:80 SCO MTU: 128:80
UP RUNNING PSCAN ISCAN
RX bytes:172 acl:0 sco:0 events:17 errors:0
TX bytes:80 acl:0 sco:0 commands:17 errors:0
Features: 0xff 0xff 0x09 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'WatchPad_15'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0xbc LMP Ver: 1.1 (0x1) LMP Subver: 0xbc
Manufacturer: Cambridge Silicon Radio (10)# ./hcitool scan
Scanning ...
00:0F:3D:0B:EE:6C dervish-0# ./l2ping 00:0F:3D:0B:EE:6C Can't connect.: Connection timed out
hcidump (desktop) during try to execute l2ping from watch to desktop:
------------------------------------------------------------------------
Quoted 1 line
HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
Quoted 4 lines
HCI Event: Command Status(0x0f) plen 4 HCI Event: Link Key Request(0x17) plen 6 HCI Event: Role Change(0x12) plen 8 HCI Event: Connect Complete(0x03) plen 11
Marcel Holtmann
maintainerHi Franz,
Quoted 36 lines
My problem with my two bluetooth adapter is, it's possible to scan the area und I get the right result, but it isn't possible to execute l2ping? I've a desktop computer and my crappy linux watch ... only with the desktop i've hcidump yet.
I hope it is something with the config wrong?!Franz
DESKTOP:
========[root@dervish root]# hciconfig -a
hci0: Type: USBBD Address: 00:0F:3D:0B:EE:6C ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH ENCRYPT RX bytes:1004 acl:0 sco:0 events:31 errors:0 TX bytes:379 acl:0 sco:0 commands:21 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: HOLD SNIFF PARK Link mode: ACCEPT MASTER Name: 'dervish-0' Class: 0x120104 Service Classes: Networking, Object Transfer Device Class: Computer, Desktop workstation HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
0x20d
Manufacturer: Cambridge Silicon Radio (10)[root@dervish root]# hcitool scan
Scanning ...00:60:57:01:10:AE WatchPad_15[root@dervish root]# l2ping 00:60:57:01:10:AE
Can't connect.: Connection timed out
Quoted 11 lines
hcidump (desktop) during try to execute l2ping from desktop to watch:
------------------------------------------------------------------------
[root@dervish sbin]# ./hcidump
HCIDump - HCI packet analyzer ver 1.5
device: hci0snap_len: 1028 filter:0xffffffff< HCI Command: Create Connection(0x01|0x0005) plen 13
Quoted 3 lines
HCI Event: Command Status(0x0f) plen 4
HCI Event: Link Key Request(0x17) plen 6
HCI Event: Connect Complete(0x03) plen 11
you set your desktop device into security mode 3. Is this what you really want?
It seems that hcid is not running, start it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 43 lines · Marcel Holtmann
Quoted 43 lines
My problem with my two bluetooth adapter is, it's possible to scan the area und I get the right result, but it isn't possible to execute l2ping? I've a desktop computer and my crappy linux watch ... only with the desktop i've hcidump yet.
I hope it is something with the config wrong?!Franz
DESKTOP:
========[root@dervish root]# hciconfig -a
hci0: Type: USBBD Address: 00:0F:3D:0B:EE:6C ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH ENCRYPT RX bytes:1004 acl:0 sco:0 events:31 errors:0 TX bytes:379 acl:0 sco:0 commands:21 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: HOLD SNIFF PARK Link mode: ACCEPT MASTER Name: 'dervish-0' Class: 0x120104 Service Classes: Networking, Object Transfer Device Class: Computer, Desktop workstation HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
0x20d
Manufacturer: Cambridge Silicon Radio (10)[root@dervish root]# hcitool scan
Scanning ...00:60:57:01:10:AE WatchPad_15[root@dervish root]# l2ping 00:60:57:01:10:AE
Can't connect.: Connection timed outhcidump (desktop) during try to execute l2ping from desktop to watch:
------------------------------------------------------------------------
[root@dervish sbin]# ./hcidump
HCIDump - HCI packet analyzer ver 1.5
device: hci0snap_len: 1028 filter:0xffffffff
Quoted 6 lines
Quoted 6 lines
< HCI Command: Create Connection(0x01|0x0005) plen 13
Quoted 3 lines
HCI Event: Command Status(0x0f) plen 4
HCI Event: Link Key Request(0x17) plen 6
HCI Event: Connect Complete(0x03) plen 11
Securty Mode 3 is not safty, isn't it ;) My problem is, I need a f*** connection between Watch and computer for a special live-demo in a closed lab.
And the next problem is that pairing doesn't work with the watch, so I turned everything off. So all I need is just a connection to send tcp packages - I don't care about the secury.
... hcid is running ...
[root@dervish root]# ps -afe | grep -v grep | grep -i hcid
root 2374 1 0 19:46 ? 00:00:00 hcid: processing events
Franz
Marcel Holtmann
maintainerHi Franz,
Quoted 3 lines
Securty Mode 3 is not safty, isn't it ;) My problem is, I need a f*** connection between Watch and computer for a special live-demo in a closed lab.
the security mode 3 is not more safe than security mode 2.
Quoted 3 lines
And the next problem is that pairing doesn't work with the watch, so I turned everything off. So all I need is just a connection to send tcp packages - I don't care about the secury.
You must switch "auth" and "encrypt" off on _both_ sides. If one device is in security mode 3 than the other must follow. This is how security mode 1 is definied in the specification.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Thanks for you quick answer ... it seems to working now :)
Franz
Quoted 43 lines · Marcel Holtmann
Hi Franz,
Quoted 5 lines
Securty Mode 3 is not safty, isn't it ;) My problem is, I need a f*** connection between Watch and computer for a special live-demo in a closed lab.
the security mode 3 is not more safe than security mode 2.
Quoted 5 lines
And the next problem is that pairing doesn't work with the watch, so I turned everything off. So all I need is just a connection to send tcp packages - I don't care about the secury.
You must switch "auth" and "encrypt" off on _both_ sides. If one device is in security mode 3 than the other must follow. This is how security mode 1 is definied in the specification.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users