Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2003 23:58:25 +0000
From:      Pav Lucistnik <pav@oook.cz>
To:        myevmenk@exodus.net
Cc:        mobile@freebsd.org
Subject:   some bluetooth fun for long afternoon
Message-ID:  <1048636681.19839.14.camel@pav.oook.cz>

next in thread | raw e-mail | index | archive | help
i'm toying with my palm m125 and bluetooth sdio card.
connecting/disconnecting works fine, and i had only one crash on palm,
which is kind of miracle comparing it to 1.0 version of palm stack,
which i used before and which crashed nearly on every occasion. now i
have latest revision 1.7 from palm website.

i paired them without problem, but sdptool browse does not return
anything. have a look below. fun is that RFCOMM channels on palm seems
to be assigned to applications rathen than to common profiles, it seems,
because by trying i found out that channel 1 is bluechat (simple
chatting application) and channel 2 is blueboard (drawing sharing
application). can't find channel for obex :(


$ sdptool browse 00:07:e0:00:0b:ca
Browsing 00:07:E0:00:0B:CA ...
$ 


HCIDump - HCI packet analyzer ver 1.4
device: any snap_len: 65535 filter: 0xffffffff
< HCI Command: Create Connection(0x01|0x0005) plen 13
  CA 0B 00 E0 07 00 18 CC 01 00 83 5C 01 
> HCI Event: Command Status(0x0f) plen 4
  00 01 05 04 
> HCI Event: Connect Complete(0x03) plen 11
  00 29 00 CA 0B 00 E0 07 00 01 00 
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
  29 00 0F 00 
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0072
> HCI Event: Number of Completed Packets(0x13) plen 5
  01 29 00 01 00 
> HCI Event: Max Slots Change(0x1b) plen 3
  29 00 05 
> HCI Event: Command Complete(0x0e) plen 6
  01 0D 08 00 29 00 
> ACL data: handle 0x0029 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0072 result 0 status 0
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
> 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 0x0072 flags 0x0000 result 0 clen 0
> ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0072 flags 0x0000 clen 0
< 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 24
    L2CAP(d): cid 0x40 len 20 [psm 1]
        SDP SSA Req: tid 0x0 len 0xf
          pat uuid-16 0x1002 (PubBrwsGrp)
          max 0xffff
          aid(s) 0x0000 - 0xffff
          cont 00 
> 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 15
    L2CAP(d): cid 0x72 len 11 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x6
          cnt 0x3
 len 0x3 frm->len 0x1 n 0x0
          cont 00 
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0072
> 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 rsp: dcid 0x0040 scid 0x0072

And list of remote supported features, if you're interested:

Features: 0xff 0xff 0xd 00 00 00 00 00 
<3-Slot> <5-Slot> <Encryption> <Slot offset>
<Timing accuracy> <Switch> <Hold mode> <Sniff mode>
<Park mode> <RSSI> <Channel quality> <SCO link>
<HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD>
<Power control> <Transparent SCO data> 

it have everything my dongle have, except <Paging scheme>

-- 
Pav Lucistnik <pav@oook.cz>
Hlinik se odstehoval do Humpolce.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048636681.19839.14.camel>