tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Bluetooth PAN daemon
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Finally I wrote a Bluetooth PAN daemon for NetBSD, it opens a tap(4)
interface and can handle all roles:
NAP Network Access Point is like an ethernet bridge
GN Group ad-hoc Network is a NAP with no external network
PANU Personal Area Networking User in both host (like GN but
a single connection) and client (the device that connects
to all the others) mode.
source at:
http://www.netbsd.org/~plunky/btpand-20080812.tar.gz
any comments, suggestions or test results welcome (I'm fiddling with
details at the moment but the core is finished)
It should work on any NetBSD4+ system, the only thing is that the
/usr/sbin/sdpd and <sdp.h> function should be up to date in order to
register GN or PANU services (I added some padding recently so that
nap/gn/panu structure are the same size)
I only tested PANU (netbsd) -> NAP (windows mobile 6) so far, it performs
better than PPP (solid 6Kb/s against 2-5Kb/s using ppp to DUN service. I
blame the phone for that though :)
Also, is this something we want in NetBSD base system (it is written for
NetBSD), or should I go the pkgsrc route (it could be adapted without too
much trouble for other BSD systems)?
iain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)
iQEcBAEBAgAGBQJIovr7AAoJEPFJxoMWDXVDoekH/03lJEsWfIKIrkaGC3+Bt+lS
2Mv2LpciYIc5JSFeE12YkHk+zyaRkWzx07+WRb7S/pEYD5qILfeU/SKpNy9Ymfn2
eYaym7nAdd0fplEjFsBO89rejokpVJTksqLY07llo0pTrXnA2QMojPeBprBwfO6i
xSaFB5C1u1BzjhRMgiWEgUASpYffXzlxXV+0mqByuTOH6YiktBW3qaEpiDy7Wowe
KmLWlTWLHNHGYydNmFXK/CSDAX/PHI4MAY8LlE/4DdCoUpSD2eMN/go7cH9MC0/Y
mQKWixf+dGAf5K0NNvSHNmkHDZhLV47I2oW86KBfVJK9brjCKvZqJ/zF9RYPpr0=
=jqkJ
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index