All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Fenemor <Neil@OnDrugs.co.nz>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Logitech MX900 Hub + i-mate smartphone2
Date: Thu, 24 Jun 2004 10:49:03 +1200	[thread overview]
Message-ID: <1088030943.3703.26.camel@localhost.localdomain> (raw)
In-Reply-To: <1088030296.4296.14.camel@pegasus>

[-- Attachment #1: Type: text/plain, Size: 6325 bytes --]

My apologies on the cross posting, won't happen again. I've also now
tried with both auth and enc switched off as well, which is what
follows. 

[root@localhost neil]# hcitool info 00:0E:6D:07:E1:BF
Requesting information ...
        BD Address:  00:0E:6D:07:E1:BF
        Device Name: Smartphone
        LMP Version: 1.1 (0x1) LMP Subversion: 0x20e
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot
offset> 
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <channel quality> <SCO link> 
                <HV2 packets> <HV3 packets> <u-law log> <A-law log> 
                <CVSD> <paging scheme> <power control> <transparent SCO>

[root@localhost neil]# /usr/sbin/hcidump -x
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection(0x01|0x0005) plen 13
  BF E1 07 6D 0E 00 18 CC 02 00 00 00 00 
> HCI Event: Command Status(0x0f) plen 4
  00 01 05 04 
> HCI Event: Connect Complete(0x03) plen 11
  00 29 00 BF E1 07 6D 0E 00 01 00 
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 3 scid 0x0040
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
  29 00 0E 00 
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
> HCI Event: Command Complete(0x0e) plen 6
  01 0D 08 00 29 00 
> HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
  BF E1 07 6D 0E 00 01 
> HCI Event: Max Slots Change(0x1b) plen 3
  29 00 05 
> ACL data: handle 0x0029 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0152 scid 0x0040 result 0 status 0
< ACL data: handle 0x0029 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0152 flags 0x0000 clen 4
    MTU 1024 
> ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
< ACL data: handle 0x0029 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0152 flags 0x0000 result 0 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
> ACL data: handle 0x0029 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0029 flags 0x02 dlen 8

    L2CAP(d): cid 0x152 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 29 00 01 00 
> ACL data: handle 0x0029 flags 0x02 dlen 8
    L2CAP(d): cid 0x40 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 
< ACL data: handle 0x0029 flags 0x02 dlen 18
    L2CAP(d): cid 0x152 len 14 [psm 3]
      RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
      dlci 2 frame_type 0 credit_flow 15 pri 7 ack_timer 0 frame_size
667 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
> ACL data: handle 0x0029 flags 0x02 dlen 18
    L2CAP(d): cid 0x40 len 14 [psm 3]
      RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
      dlci 2 frame_type 0 credit_flow 14 pri 7 ack_timer 0 frame_size
667 max_retrans 0 credits 7
< ACL data: handle 0x0029 flags 0x02 dlen 8
    L2CAP(d): cid 0x152 len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x59 
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
> ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0152
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0152
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
< HCI Command: Disconnect(0x01|0x0006) plen 3
  29 00 13 
> HCI Event: Command Status(0x0f) plen 4
  00 01 06 04 
> HCI Event: Disconn Complete(0x05) plen 4
  00 29 00 16 

--------------------------------------------------------

[root@localhost neil]# /opt/bluetooth/sbin/hciconfig -a
hci0:   Type: USB
        BD Address: 00:07:61:1A:A7:23  ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN 
        RX bytes:125557 acl:6054 sco:0 events:5693 errors:0
        TX bytes:82916 acl:6254 sco:0 commands:78 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: MASTER ACCEPT
        Name: 'Laptop'
        Class: 0x120105
        HCI Ver: 1.1 (0x1) HCI Rev: 0x34e  LMP Ver: 1.1 (0x1) LMP
Subver: 0x34e
        Manufacturer: Cambridge Silicon Radio (10)

---------------------------------------------------------


On Thu, 2004-06-24 at 10:38, Marcel Holtmann wrote:

> Hi Neil,
> 
> choose one mailing list, because I hate cross-postings.
> 
> > I'm trying to get my MX900 Hub and my i-mate smartphone2 to place
> > nicely together, but so far, I haven't had much luck on that front.
> > The smartphone2 FYI runs Windows Mobile 2003, or CE4, which ever you
> > prefer to call it. The phone is also called a Orange SPV E200 for
> > those on that network.
> 
> Send us the information about your phone from "hcitool info <bdaddr>".
> 
> > I can get rfcomm stuff to work fine with other phones, so I believe it
> > is the phone itself at fault. The end result that I'm after, is to be
> > able to sync with my phone, and also surf from my laptop via GPRS. The
> > time frame I'm trying t work within is of course tight, as I'm needed
> > this next week for while I'm away. 
> > 
> > When all connected, peered, etc, and it looks successful, I get odd
> > things like the following.
> > 
> > [root@localhost neil]# cat /dev/rfcomm0
> > cat: /dev/rfcomm0: Connection reset by peer
> > [root@localhost neil]# 
> > 
> > I've put the hcidump information at the bottom of the e-mail.
> 
> Do it again, but this time with -x or send us the binary dump.
> 
> > I'm also having problems with the ActiveSync facilities on the phone,
> > as when I try the "BT ActiveSync" it comes up with "Please bond with
> > other Bluetooth device which supports serial port or ActiveSync
> > profile as your ActiveSync partner!"
> 
> >From the dump I saw that you use security mode 3. Do you enabled auth
> and encrypt in hcid.conf? Don't do so. Show us "hciconfig -a".
> 
> Regards
> 
> Marcel
> 

[-- Attachment #2: Type: text/html, Size: 8787 bytes --]

  reply	other threads:[~2004-06-23 22:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 22:22 [Bluez-devel] Logitech MX900 Hub + i-mate smartphone2 Neil Fenemor
2004-06-23 22:38 ` Marcel Holtmann
2004-06-23 22:49   ` Neil Fenemor [this message]
2004-06-23 22:59     ` Marcel Holtmann
2004-06-23 23:08       ` Neil Fenemor
2004-06-23 23:19         ` Marcel Holtmann
     [not found]           ` <1088033524.3703.34.camel@localhost.localdomain>
2004-06-23 23:41             ` Marcel Holtmann
2004-06-23 23:58               ` Neil Fenemor
2004-06-23 22:50   ` Neil Fenemor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1088030943.3703.26.camel@localhost.localdomain \
    --to=neil@ondrugs.co.nz \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.