public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Infineon ROK104001 Bluetooth Problem
@ 2004-09-30 20:32 Edward Wei
  2004-10-01  8:07 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Edward Wei @ 2004-09-30 20:32 UTC (permalink / raw)
  To: bluez-users

Hi,

I'm using the Infineon ROK104001 module connected to an Intel PXA255 
serial BTUART.  I tried running rctest and l2test from the bluez-libs 
sources and I seem to have problems sending with this setup and no 
problems receiving.

Infineon ROK + PXA (sender)
linux 2.6.9-rc1
bluez-libs-2.10

Laptop with Kensington USB Dongle (receiver)
linux 2.6.9-rc2-bk7
bluez-libs-2.10

I have enclosed hciconfig and hcidump information below.

Thank you.


Ed



Here is the output from hciconfig:

Infineon ROK + PXA255 BTUART:
hci0:   Type: UART
        BD Address: 00:80:37:1C:3B:87 ACL MTU: 672:8  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:1562477 acl:2746 sco:0 events:1415 errors:3665
        TX bytes:11943 acl:425 sco:0 commands:348 errors:0
        Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'Gumstix (0)'
        Class: 0x820116
        Service Classes: Networking, Information
        Device Class: Computer, Palm
        HCI Ver: 1.1 (0x1) HCI Rev: 0x8105 LMP Ver: 1.1 (0x1) LMP 
Subver: 0x8d40
        Manufacturer: Ericsson Technology Licensing (0)

Laptop with Kensington Bluetooth USB dongle:

hci0:   Type: USB
        BD Address: 00:0C:76:46:D6:93 ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:122105 acl:434 sco:0 events:14625 errors:0
        TX bytes:4733246 acl:27673 sco:0 commands:215 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'reshiftedity (0)'
        Class: 0x120114
        Service Classes: Networking, Object Transfer
        Device Class: Computer, Palm
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
        Manufacturer: Cambridge Silicon Radio (10)


Output from hcidump -x:

# ./rctest.exec -s -P 10 00:0c:76:46:D6:93
< HCI Command: Create Connection (0x01|0x0005) plen 13
  93 D6 46 76 0C 00 18 CC 01 00 B7 ED 01 
> HCI Event: Command Status (0x0f) plen 4
  00 07 05 04 
> HCI Event: Connect Complete (0x03) plen 11
  00 02 00 93 D6 46 76 0C 00 01 00 
< ACL data: handle 0x0002 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 3 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
  02 00 0F 00 
> HCI Event: Command Status (0x0f) plen 4
  00 08 00 00 
> HCI Event: Command Complete (0x0e) plen 6
  08 0D 08 00 02 00 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> HCI Event: Max Slots Change (0x1b) plen 3
  02 00 05 
> ACL data: handle 0x0002 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
< ACL data: handle 0x0002 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
    MTU 1024 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x0002 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
    MTU 1024 
< ACL data: handle 0x0002 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0002 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 
< ACL data: handle 0x0002 flags 0x02 dlen 18
    L2CAP(d): cid 0x0040 len 14 [psm 3]
      RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
      dlci 20 frame_type 0 credit_flow 15 pri 7 ack_timer 0
      frame_size 1019 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 18
    L2CAP(d): cid 0x0040 len 14 [psm 3]
      RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
      dlci 20 frame_type 0 credit_flow 14 pri 7 ack_timer 0
      frame_size 1019 max_retrans 0 credits 7
< ACL data: handle 0x0002 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 20 pf 1 ilen 0 fcs 0xfd 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 20 pf 1 ilen 0 fcs 0x36 
< ACL data: handle 0x0002 flags 0x02 dlen 12
    L2CAP(d): cid 0x0040 len 8 [psm 3]
      RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
rctest[172]: Connected
rctest[172]: Sending ...
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 12
    L2CAP(d): cid 0x0040 len 8 [psm 3]
      RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
< ACL data: handle 0x0002 flags 0x02 dlen 12
    L2CAP(d): cid 0x0040 len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 12
    L2CAP(d): cid 0x0040 len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
< ACL data: handle 0x0002 flags 0x02 dlen 9
    L2CAP(d): cid 0x0040 len 5 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 1 ilen 0 fcs 0x2d credits 33
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      00 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
> ACL data: handle 0x0002 flags 0x02 dlen 9
    L2CAP(d): cid 0x0040 len 5 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 20 pf 1 ilen 0 fcs 0xf7 credits 33
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      01 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      02 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      03 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
> HCI Event: Hardware Error (0x10) plen 2
  23 08 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      04 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
> HCI Event: Hardware Error (0x10) plen 1
  20 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 02 00 01 00 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      05 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      06 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      07 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 
< ACL data: handle 0x0002 flags 0x02 dlen 135
    L2CAP(d): cid 0x0040 len 131 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31 
      08 00 00 00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
      7F 7F 7F 7F 7F 7F 7F 



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Infineon ROK104001 Bluetooth Problem
  2004-09-30 20:32 [Bluez-users] Infineon ROK104001 Bluetooth Problem Edward Wei
@ 2004-10-01  8:07 ` Marcel Holtmann
  2004-10-01 14:35   ` Edward Wei
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-10-01  8:07 UTC (permalink / raw)
  To: Edward Wei; +Cc: bluez-users

Hi Edward,

> I'm using the Infineon ROK104001 module connected to an Intel PXA255 
> serial BTUART.  I tried running rctest and l2test from the bluez-libs 
> sources and I seem to have problems sending with this setup and no 
> problems receiving.

be more specific. What is your problem. Describe what you are doing
(command lines etc.) and then what fails and what works.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Infineon ROK104001 Bluetooth Problem
  2004-10-01  8:07 ` Marcel Holtmann
@ 2004-10-01 14:35   ` Edward Wei
  2004-10-01 14:42     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Edward Wei @ 2004-10-01 14:35 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: bluez-users

Oh sorry.  I put the commands right next to the hcidump of my first 
message.  I'll make it more specific this time.

There are no problems with sending to the Infineon + PXA.

Laptop with Kensington USB Dongle (sender)
# ./rctest.exec -s -P 10 xx:xx:xx:xx:xx:xx

Infineon ROK + PXA (receiver)
# ./rctest.exec


There are problems sending with the Infineon + PXA.

Laptop with Kensington USB Dongle (receiver)
# ./rctest.exec

Infineon ROK + PXA (sender)
# hcidump -x &
# ./rctest.exec -s -P 10 xx:xx:xx:xx:xx:xx

This is the hcidump that follows... a few packets get through, then it 
stalls and says "hci_cmd_task: hci0 command tx timeout".


< HCI Command: Create Connection (0x01|0x0005) plen 13
 93 D6 46 76 0C 00 18 CC 01 00 B7 ED 01

> HCI Event: Command Status (0x0f) plen 4

 00 07 05 04

> HCI Event: Connect Complete (0x03) plen 11

 00 02 00 93 D6 46 76 0C 00 01 00 < ACL data: handle 0x0002 flags 0x02 
dlen 12
   L2CAP(s): Connect req: psm 3 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
 02 00 0F 00

> HCI Event: Command Status (0x0f) plen 4

 00 08 00 00

> HCI Event: Command Complete (0x0e) plen 6

 08 0D 08 00 02 00

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> HCI Event: Max Slots Change (0x1b) plen 3

 02 00 05

> ACL data: handle 0x0002 flags 0x02 dlen 16

   L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
< ACL data: handle 0x0002 flags 0x02 dlen 16
   L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
   MTU 1024

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 14

   L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0

> ACL data: handle 0x0002 flags 0x02 dlen 16

   L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
   MTU 1024 < ACL data: handle 0x0002 flags 0x02 dlen 14
   L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0002 flags 0x02 dlen 8
   L2CAP(d): cid 0x0040 len 4 [psm 3]
     RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 8

   L2CAP(d): cid 0x0040 len 4 [psm 3]
     RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 < ACL data: handle 
0x0002 flags 0x02 dlen 18
   L2CAP(d): cid 0x0040 len 14 [psm 3]
     RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
     dlci 20 frame_type 0 credit_flow 15 pri 7 ack_timer 0
     frame_size 1019 max_retrans 0 credits 7

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 18

   L2CAP(d): cid 0x0040 len 14 [psm 3]
     RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
     dlci 20 frame_type 0 credit_flow 14 pri 7 ack_timer 0
     frame_size 1019 max_retrans 0 credits 7
< ACL data: handle 0x0002 flags 0x02 dlen 8
   L2CAP(d): cid 0x0040 len 4 [psm 3]
     RFCOMM(s): SABM: cr 1 dlci 20 pf 1 ilen 0 fcs 0xfd

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 8

   L2CAP(d): cid 0x0040 len 4 [psm 3]
     RFCOMM(s): UA: cr 1 dlci 20 pf 1 ilen 0 fcs 0x36 < ACL data: handle 
0x0002 flags 0x02 dlen 12
   L2CAP(d): cid 0x0040 len 8 [psm 3]
     RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
     dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
rctest[172]: Connected
rctest[172]: Sending ...

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 12

   L2CAP(d): cid 0x0040 len 8 [psm 3]
     RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
     dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
< ACL data: handle 0x0002 flags 0x02 dlen 12
   L2CAP(d): cid 0x0040 len 8 [psm 3]
     RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
     dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 12

   L2CAP(d): cid 0x0040 len 8 [psm 3]
     RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
     dlci 20 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
< ACL data: handle 0x0002 flags 0x02 dlen 9
   L2CAP(d): cid 0x0040 len 5 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 1 ilen 0 fcs 0x2d credits 33
< ACL data: handle 0x0002 flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      00 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00

> ACL data: handle 0x0002 flags 0x02 dlen 9

   L2CAP(d): cid 0x0040 len 5 [psm 3]
     RFCOMM(d): UIH: cr 0 dlci 20 pf 1 ilen 0 fcs 0xf7 credits 33

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00 < ACL data: handle 0x0002 flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      01 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00 < ACL data: handle 0x0002 flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      02 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00 < ACL data: handle 0x0002 flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      03 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F

> HCI Event: Hardware Error (0x10) plen 2

 23 08 < ACL data: handle 0x0002 flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      04 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F

> HCI Event: Hardware Error (0x10) plen 1

 20

> HCI Event: Number of Completed Packets (0x13) plen 5

 01 02 00 01 00 < ACL data: handle 0x0002 flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      05 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F < ACL data: handle 0x0002 
flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      06 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F < ACL data: handle 0x0002 
flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      07 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F < ACL data: handle 0x0002 
flags 0x02 dlen 135
   L2CAP(d): cid 0x0040 len 131 [psm 3]
     RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 127 fcs 0x31      08 00 00 
00 7F 00 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 
7F 7F 7F 7F 7F 7F 7F      7F 7F 7F 7F 7F 7F 7F





Marcel Holtmann wrote:

>Hi Edward,
>
>  
>
>>I'm using the Infineon ROK104001 module connected to an Intel PXA255 
>>serial BTUART.  I tried running rctest and l2test from the bluez-libs 
>>sources and I seem to have problems sending with this setup and no 
>>problems receiving.
>>    
>>
>
>be more specific. What is your problem. Describe what you are doing
>(command lines etc.) and then what fails and what works.
>
>Regards
>
>Marcel
>
>
>  
>

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

* Re: [Bluez-users] Infineon ROK104001 Bluetooth Problem
  2004-10-01 14:35   ` Edward Wei
@ 2004-10-01 14:42     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-10-01 14:42 UTC (permalink / raw)
  To: Edward Wei; +Cc: bluez-users

Hi Edward,

> Oh sorry.  I put the commands right next to the hcidump of my first 
> message.  I'll make it more specific this time.
> 
> There are no problems with sending to the Infineon + PXA.
> 
> Laptop with Kensington USB Dongle (sender)
> # ./rctest.exec -s -P 10 xx:xx:xx:xx:xx:xx
> 
> Infineon ROK + PXA (receiver)
> # ./rctest.exec
> 
> 
> There are problems sending with the Infineon + PXA.
> 
> Laptop with Kensington USB Dongle (receiver)
> # ./rctest.exec
> 
> Infineon ROK + PXA (sender)
> # hcidump -x &
> # ./rctest.exec -s -P 10 xx:xx:xx:xx:xx:xx
> 
> This is the hcidump that follows... a few packets get through, then it 
> stalls and says "hci_cmd_task: hci0 command tx timeout".

this means that the ROK has a problem in its implementation of the HCI
flow control. Or maybe it is on our side, but I don't think so. We
actually don't use flow control on the receiving side, so this will of
course work. Do you have a firmware update for the ROK?

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-10-01 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-30 20:32 [Bluez-users] Infineon ROK104001 Bluetooth Problem Edward Wei
2004-10-01  8:07 ` Marcel Holtmann
2004-10-01 14:35   ` Edward Wei
2004-10-01 14:42     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox