Subject: Re: [Bluez-devel] TCP/IP Connection


Hi Murilo,

Thanks for the help, it helped to
connect them. But I am sorry if I was
not clear in my question. I would like
to know how i could write code (using
bluez api) to acomplish this task.

Thanks again for your help

> On Fri, Jan 07, 2005 at 11:50:00AM
-0200, omap wrote:
> >
> >
> > Hi folks,
> >
> >
> > Here I am with another dummy question
> > for those with more experience in
Bluez.
> > I am intending to build an application
> > to connect a Bluetooth device to PC
> > using TCP/IP. Well, can anyone help me
> > on finding any howto or samples where
> > i can find the necessary steps to
> > acomplish my task?
> >
>
> [Server Side]
> # pand --master --listen role GN
> # ifconfig bnep0 192.168.0.1
>
> [Client Side]
> # pand --connect 00:11:22:33:44:55 #
SERVER ADDR
> # ifconfig bnep0 192.168.0.2
> # route add default gw 192.168.0.1
>
>
> I hope this help,
>
> ./nelson -murilo
>
>
>
>
-------------------------------------------------------
> The SF.Net email is sponsored by:
Beat the post-holiday blues
> Get a FREE limited edition
SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well,
almost....http://www.thinkgeek.com/sfshirt
>
_______________________________________________
> Bluez-devel mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =0A =0A________________________________________________________________=
__________=0AAcabe com aquelas janelinhas que pulam na sua tela.=0AAntiPo=
p-up UOL - =C9 gr=E1tis!=0Ahttp://antipopup.uol.com.br/=0A



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-01-07 17:33:58

by Nelson Murilo

[permalink] [raw]
Subject: Re: [Bluez-devel] TCP/IP Connection

On Fri, Jan 07, 2005 at 12:40:58PM -0200, omap wrote:
>
> Hi Murilo,
>
> Thanks for the help, it helped to
> connect them. But I am sorry if I was
> not clear in my question. I would like
> to know how i could write code (using
> bluez api) to acomplish this task.


May you could look the pand source, is very small:

debian:~/bluez-utils-2.13/pand# wc -l *
17 Makefile.am
462 Makefile.in
316 bnep.c
729 main.c
68 pand.1
51 pand.h
224 sdp.c
1867 total



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel