Serial Port Profile
Alexandre "Sunny" Kovalenko
Alex.Kovalenko at verizon.net
Sat Jul 15 12:00:35 UTC 2006
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 (Олександр Коваленко)
More information about the freebsd-bluetooth
mailing list