Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 23:04:26 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Maksim Yevmenkin <m_evmenkin@yahoo.com>
Cc:        current@freebsd.org
Subject:   Re: FreeBSD as bluetooth gateway for a PDA
Message-ID:  <20030912200426.GA70123@sunbay.com>
In-Reply-To: <20030912184740.51714.qmail@web40301.mail.yahoo.com>
References:  <20030912115940.A41679@hydra.vcc.local> <20030912184740.51714.qmail@web40301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 12, 2003 at 11:47:40AM -0700, Maksim Yevmenkin wrote:
[...]
> ok, now we are back to RFCOMM connection. here is iPaq sends a RFCOMM data
> packet. the sequence is "0x43 0x4C 0x49 0x45 0x4E 0x54", which is a word
>=20
> "CLIENT"
>=20
> > < ACL data: handle 0x0028 flags 0x02 dlen 9
> >     L2CAP(d): cid 0x47 len 5 [psm 3]
> >       RFCOMM(d): UIH: cr 0 dlci 14 pf 1 ilen 0 fcs 0x63 credits 34=20
> > > HCI Event: Number of Completed Packets(0x13) plen 5
> >   01 28 00 01 00=20
> > < ACL data: handle 0x0028 flags 0x02 dlen 73
> >     L2CAP(d): cid 0x47 len 69 [psm 3]
> >       RFCOMM(d): UIH: cr 0 dlci 14 pf 0 ilen 65 fcs 0x7f=20
> >       7E FF 7D 23 C0 21 7D 21 7D 21 7D 20 20 7D 28 7D 22 7D 27 7D=20
> >       22 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 21 7D 24 7D 25 DC=20
> >       7D 25 7D 26 22 85 2E 69 7D 24 7D 28 C0 25 7D 20 7D 20 7D 23=20
> >       E8 7D 36 B4 7E=20
>=20
> here is FreeBSD gives more RFCOMM credits to iPaq and send RFCOMM data pa=
cket
> with "0x7E 0xFF 0x7D ..." which is clearly a PPP frame.
>=20
> > > HCI Event: Number of Completed Packets(0x13) plen 5
> >   01 28 00 01 00=20
> > > ACL data: handle 0x0028 flags 0x02 dlen 9
> >     L2CAP(d): cid 0x56 len 5 [psm 3]
> >       RFCOMM(d): UIH: cr 1 dlci 14 pf 1 ilen 0 fcs 0xb9 credits 1=20
> > > ACL data: handle 0x0028 flags 0x02 dlen 14
> >     L2CAP(d): cid 0x56 len 10 [psm 3]
> >       RFCOMM(d): UIH: cr 1 dlci 14 pf 0 ilen 6 fcs 0xa5=20
> >       43 4C 49 45 4E 54=20
>=20
> here we receive more RFCOMM credits from iPaq, and iPaq again sends us wo=
rd
> "CLIENT" etc.
>=20
> [ i skipped the rest of the dump and PPP config ]
>=20
> > I'm clueless... I hope you might find some time to ponder this!
>=20
> well, from what i can see iPaq is trying to use Windows RAS service, where
> FreeBSD is configured to use PPP. is iPaq runs on WinCE? you should tell
> your iPaq to use Unix/PPP *not* Windows/RAS (Remote Access Service). plea=
se
> try this and let me know if it works.
>=20
> thank you very much for your time, help with testing and very good dumps.
>=20
If you have a version of ppp(8) that supports force-scripts (please
check the ppp(8) manual), this should fix your PPP problem:

server:
    [...]
    enable force-scripts
    set dial "CLIENT CLIENTSERVER"


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/YibKUkv4P6juNwoRAnWaAJ0R2unCuziiw8Xf7jRD30BkVywFlgCdF2jL
H7qqpTh/B9VZXRy/IvxJUjw=
=BK5F
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--



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