Skip to contentSkip to conversation

L2Ping / Rfcomm connect : Function not implemented

Bluez-users wim delvaux 2 participants 14 messages Dec 12, 2004 – Dec 13, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

If I execute on my 3870 Ipaq

l2ping 00:60:57:35:81:B6

Where the BDAddr is of a Nokial 6310 telephone

I get the above error.

Hcidump -x shows

< HCI Command: Create Connection(0x01|0x0005) plen 13
B6 81 35 57 60 00 18 CC 02 00 00 00 01

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 05 04

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

1F 00 00 B6 81 35 57 60 00 01 00

If I read the specs properly 0x1f is a 'unspecified error' ;-(

What could be wrong ?

I can ping the device from my desktop

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Wim,

Quoted 13 lines

If I execute on my 3870 Ipaq

l2ping 00:60:57:35:81:B6

Where the BDAddr is of a Nokial 6310 telephone

I get the above error.

Hcidump -x shows

< HCI Command: Create Connection(0x01|0x0005) plen 13
B6 81 35 57 60 00 18 CC 02 00 00 00 01

Quoted 8 lines
Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 05 04

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

1F 00 00 B6 81 35 57 60 00 01 00

If I read the specs properly 0x1f is a 'unspecified error' ;-(

What could be wrong ?

show us "hciconfig -a" from the iPAQ.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 22 lines · Marcel Holtmann

Hi Wim,

Quoted 20 lines

If I execute on my 3870 Ipaq

l2ping 00:60:57:35:81:B6

Where the BDAddr is of a Nokial 6310 telephone

I get the above error.

Hcidump -x shows

< HCI Command: Create Connection(0x01|0x0005) plen 13
B6 81 35 57 60 00 18 CC 02 00 00 00 01

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 05 04

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

Quoted 7 lines
Quoted 5 lines

1F 00 00 B6 81 35 57 60 00 01 00

If I read the specs properly 0x1f is a 'unspecified error' ;-(

What could be wrong ?

show us "hciconfig -a" from the iPAQ.

hci0: Type: UART
BD Address: 00:02:C7:0D:85:96 ACL MTU: 128:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH
RX bytes:1181186 acl:3150 sco:0 events:1857 errors:0
TX bytes:220702 acl:2025 sco:0 commands:49 errors:0
Features: 0xff 0xff 0x05 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'familiar'
Class: 0x120112
Service Classes: Networking, Object Transfer
Device Class: Computer, Handheld
HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
Manufacturer: Cambridge Silicon Radio (10)

Quoted 8 lines

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Wim,

Quoted 17 lines
Quoted 1 line

show us "hciconfig -a" from the iPAQ.

hci0: Type: UART
BD Address: 00:02:C7:0D:85:96 ACL MTU: 128:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH
RX bytes:1181186 acl:3150 sco:0 events:1857 errors:0
TX bytes:220702 acl:2025 sco:0 commands:49 errors:0
Features: 0xff 0xff 0x05 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'familiar'
Class: 0x120112
Service Classes: Networking, Object Transfer
Device Class: Computer, Handheld
HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
Manufacturer: Cambridge Silicon Radio (10)

why is this device running in security mode 3 ??? As I always said, you should use "auth" and "encrypt" only if you know what you are doing. And btw the "good old" 0x72 firmware is old and can result in unexpected behaviour with non-CSR chips.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw
Quoted 20 lines · Marcel Holtmann

Hi Wim,

Quoted 17 lines
Quoted 1 line

show us "hciconfig -a" from the iPAQ.

hci0: Type: UART
BD Address: 00:02:C7:0D:85:96 ACL MTU: 128:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH
RX bytes:1181186 acl:3150 sco:0 events:1857 errors:0 TX bytes:220702 acl:2025 sco:0 commands:49 errors:0
Features: 0xff 0xff 0x05 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'familiar'
Class: 0x120112
Service Classes: Networking, Object Transfer
Device Class: Computer, Handheld
HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver:
0x72 Manufacturer: Cambridge Silicon Radio (10)

Quoted 4 lines

why is this device running in security mode 3 ??? As I always said, you should use "auth" and "encrypt" only if you know what you are doing. And btw the "good old" 0x72 firmware is old and can result in unexpected behaviour with non-CSR chips.

Can I upgrade that firmware on an Ipaq 3870 ???

So just remove auth enable;. then

Thx
W

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#5 lore raw

Hi Wim,

Quoted 6 lines
Quoted 4 lines

why is this device running in security mode 3 ??? As I always said, you should use "auth" and "encrypt" only if you know what you are doing. And btw the "good old" 0x72 firmware is old and can result in unexpected behaviour with non-CSR chips.

Can I upgrade that firmware on an Ipaq 3870 ???

it should be possible, but I don't think that you will get a firmware file for it or even a tool that can do it.

Quoted 1 line

So just remove auth enable;. then

You should at least try this, because I never had any problems with my iPAQ 3970 and any mobile phone.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

Hi marcel,

After a reboot (again a kernel freeze that I mailed about before) and a change in hcid.conf ... no result.

New hcidump -x and hciconfig -a

/mnt/ramfs/tmp # l2ping 00:60:57:35:81:B6
< HCI Command: Create Connection(0x01|0x0005) plen 13
B6 81 35 57 60 00 18 CC 02 00 00 00 01

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 05 04

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

1F 00 00 B6 81 35 57 60 00 01 00
Can't connect.: Function not implemented
/mnt/ramfs/tmp # hciconfig -a
hci0: Type: UART
BD Address: 00:02:C7:0D:85:96 ACL MTU: 128:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:1484028 acl:3535 sco:0 events:1656 errors:0 TX bytes:161370 acl:1596 sco:0 commands:42 errors:0
Features: 0xff 0xff 0x05 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
< HCI Command: Read Local Name(0x03|0x0014) plen 0

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 252

01 14 0C 00 66 61 6D 69 6C 69 61 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Name: 'familiar'
< HCI Command: Read Class of Device(0x03|0x0023) plen 0

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 7

01 23 0C 00 12 01 12
Class: 0x120112
Service Classes: Networking, Object Transfer Device Class: Computer, Handheld
< HCI Command: Read Local Version Information(0x04|0x0001) plen 0

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 12

01 01 10 00 01 72 00 01 0A 00 72 00
HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
Manufacturer: Cambridge Silicon Radio (10)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#7 lore raw

Hi Wim,

Quoted 2 lines

After a reboot (again a kernel freeze that I mailed about before) and a change in hcid.conf ... no result.

We can't get any further without a protocol analyzer. However you might wanna ask a Nokia Service Shop to update your mobile phone.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#8 lore raw
Quoted 7 lines · Marcel Holtmann

Hi Wim,

Quoted 2 lines

After a reboot (again a kernel freeze that I mailed about before) and a change in hcid.conf ... no result.

We can't get any further without a protocol analyzer. However you might wanna ask a Nokia Service Shop to update your mobile phone.

The strange thing is

1. it has worked before
2. it works from my desktop

with this hciconfig -a output
hci0: Type: USB
BD Address: 00:60:57:02:71:A2 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH
RX bytes:3133810 acl:37666 sco:0 events:87504 errors:0 TX bytes:19406578 acl:115742 sco:0 commands:737 errors:0
Features: 0xff 0xff 0x09 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'buro-0'
Class: 0x100000
Service Classes: Object Transfer
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0xbc LMP Ver: 1.1 (0x1) LMP Subver: 0xbc
Manufacturer: Cambridge Silicon Radio (10)

I can connect with BNEP from the Ipaq to the desktop and actually AM connected to it

Quoted 8 lines

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#9 lore raw

I just disconnected my Ipaq-> Desktop BNEP connection.

And even now hcitool scan on my desktop can only find the phone and NOT the Ipaq.

hcitool scan on the Ipaq does not reveal ANY device (not even the desktop) ????!?

Why has it all of a sudden broke down ? Could the BT hardware be in an 'odd' state ? Might Depleting the battery help ?

W

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#13 lore raw
In reply to wim delvaux

Hi Wim,

Quoted 28 lines
Quoted 5 lines
Quoted 2 lines

After a reboot (again a kernel freeze that I mailed about before) and a change in hcid.conf ... no result.

We can't get any further without a protocol analyzer. However you might wanna ask a Nokia Service Shop to update your mobile phone.

The strange thing is

1. it has worked before
2. it works from my desktop

with this hciconfig -a output
hci0: Type: USB
BD Address: 00:60:57:02:71:A2 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH
RX bytes:3133810 acl:37666 sco:0 events:87504 errors:0 TX bytes:19406578 acl:115742 sco:0 commands:737 errors:0
Features: 0xff 0xff 0x09 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'buro-0'
Class: 0x100000
Service Classes: Object Transfer
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0xbc LMP Ver: 1.1 (0x1) LMP Subver: 0xbc
Manufacturer: Cambridge Silicon Radio (10)

Quoted 2 lines

I can connect with BNEP from the Ipaq to the desktop and actually AM connected to it

it looks like a link manager problem in some way. However this can't be debugged without a protocol analyzer.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#10 lore raw
In reply to wim delvaux

Hi Wim,

Quoted 10 lines

I just disconnected my Ipaq-> Desktop BNEP connection.

And even now hcitool scan on my desktop can only find the phone and NOT the Ipaq.

hcitool scan on the Ipaq does not reveal ANY device (not even the desktop) ????!?

Why has it all of a sudden broke down ? Could the BT hardware be in an 'odd' state ? Might Depleting the battery help ?

the battery should have nothing to do with it, but the hardware could be somekind of broken. This happens.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#11 lore raw
Quoted 7 lines · Marcel Holtmann

Hi Wim,

Quoted 5 lines

I just disconnected my Ipaq-> Desktop BNEP connection.

And even now hcitool scan on my desktop can only find the phone and NOT the Ipaq.

Quoted 8 lines
Quoted 5 lines

hcitool scan on the Ipaq does not reveal ANY device (not even the desktop) ????!?

Why has it all of a sudden broke down ? Could the BT hardware be in an 'odd' state ? Might Depleting the battery help ?

the battery should have nothing to do with it, but the hardware could be somekind of broken. This happens.

I was hoping a battery depletion would 'reset' hardware

could that kernel 'freeze' have cause this ?

W

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#12 lore raw

Hi Wim,

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Why has it all of a sudden broke down ? Could the BT hardware be in an 'odd' state ? Might Depleting the battery help ?

the battery should have nothing to do with it, but the hardware could be somekind of broken. This happens.

I was hoping a battery depletion would 'reset' hardware

actually I am the wrong person to ask for a correct advice about it. It can maybe help.

Quoted 1 line

could that kernel 'freeze' have cause this ?

Possible, but who knows?

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users