some bluetooth fun for long afternoon

Pav Lucistnik <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 <[email protected]>
Hlinik se odstehoval do Humpolce.


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.