public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] TCP/IP Connection
@ 2005-01-07 13:50 omap
  2005-01-07 14:03 ` Nelson Murilo
  0 siblings, 1 reply; 4+ messages in thread
From: omap @ 2005-01-07 13:50 UTC (permalink / raw)
  To: bluez-devel



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?

I'll appreciate any help=0A =0A__________________________________________=
________________________________=0AAcabe com aquelas janelinhas que pulam=
 na sua tela.=0AAntiPop-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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] TCP/IP Connection
  2005-01-07 13:50 omap
@ 2005-01-07 14:03 ` Nelson Murilo
  0 siblings, 0 replies; 4+ messages in thread
From: Nelson Murilo @ 2005-01-07 14:03 UTC (permalink / raw)
  To: bluez-devel

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] TCP/IP Connection
@ 2005-01-07 14:40 omap
  2005-01-07 17:33 ` Nelson Murilo
  0 siblings, 1 reply; 4+ messages in thread
From: omap @ 2005-01-07 14:40 UTC (permalink / raw)
  To: bluez-devel


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
> Bluez-devel@lists.sourceforge.net
>
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] TCP/IP Connection
  2005-01-07 14:40 [Bluez-devel] TCP/IP Connection omap
@ 2005-01-07 17:33 ` Nelson Murilo
  0 siblings, 0 replies; 4+ messages in thread
From: Nelson Murilo @ 2005-01-07 17:33 UTC (permalink / raw)
  To: bluez-devel

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-07 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07 14:40 [Bluez-devel] TCP/IP Connection omap
2005-01-07 17:33 ` Nelson Murilo
  -- strict thread matches above, loose matches on Subject: below --
2005-01-07 13:50 omap
2005-01-07 14:03 ` Nelson Murilo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox