Date: Sat, 15 Jul 2006 07:59:34 -0400 From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net> To: Eric Anderson <anderson@centtech.com> Cc: "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org> Subject: Re: Serial Port Profile Message-ID: <1152964774.758.20.camel@RabbitsDen> In-Reply-To: <44B86410.3030108@centtech.com> References: <44B86410.3030108@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2006-07-14 at 22:42 -0500, Eric Anderson wrote: > I have the need to set up an RFCOMM serial port profile over bluetooth. > I see the rfcomm_sppd tool, but that connects to another remote > bluetooth device's serial port profile. What I need, is to offer a > serial port profile to bluetooth clients, and have a /dev/tty* entry to > talk with. > > Is it implemented already? If it is, please point me in the right > direction (man pages?) If it isn't how much work is it, and would it be > complicated for a novice to do? > > Thanks, > Eric >From what limited knowledge I have, your quickest path seems to be to hack /usr/src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c somewhere inside 384:exec_ppp(int s, char *unit, char *label) to start whatever is that you want talking to your clients instead of 'pppd'. -- Alexandre Kovalenko (Олександр Коваленко)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1152964774.758.20.camel>