linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Data across Bluetooth Connection - Not file transfer
@ 2004-03-18  6:58 Lalith Chakravarthi
  2004-03-18  8:39 ` Pavel Ruzicka
  0 siblings, 1 reply; 5+ messages in thread
From: Lalith Chakravarthi @ 2004-03-18  6:58 UTC (permalink / raw)
  To: bluez-users

Hi...

I want to know how data maybe sent across an established bluetooth
connection? 

I actually want to keep checking if a particular message  (possibly in
the header or something) has been recieved over the bluetooth
connection and do a corresponding action (possibly run a program) when
that happens. 

Could anyone help me out with this? I dont want to read a file and
implement the program after reading it, as this will be a high traffic
utilisation. Please do advise...

Regards
Lalith

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Data across Bluetooth Connection - Not file transfer
  2004-03-18  6:58 [Bluez-users] Data across Bluetooth Connection - Not file transfer Lalith Chakravarthi
@ 2004-03-18  8:39 ` Pavel Ruzicka
  2004-03-18  9:18   ` Lalith Chakravarthi
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Ruzicka @ 2004-03-18  8:39 UTC (permalink / raw)
  To: bluez-users

Hello,

> I want to know how data maybe sent across an established bluetooth
> connection?
> I actually want to keep checking if a particular message  (possibly in
> the header or something) has been recieved over the bluetooth
> connection and do a corresponding action (possibly run a program) when
> that happens.

I don't know if I exactly understand your needs.
When you have running PAND server and other side try to make PAN connection,
that kernel calls HOTPLUG with NET ADD action and you can automatically 
configure BNEP0 interface or do some other action, what do you want.

Best regards,

Pavel Ruzicka



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Data across Bluetooth Connection - Not file transfer
  2004-03-18  8:39 ` Pavel Ruzicka
@ 2004-03-18  9:18   ` Lalith Chakravarthi
  2004-03-18 10:00     ` Pavel Ruzicka
  0 siblings, 1 reply; 5+ messages in thread
From: Lalith Chakravarthi @ 2004-03-18  9:18 UTC (permalink / raw)
  To: Pavel Ruzicka; +Cc: bluez-users

Hi

> I don't know if I exactly understand your needs.
> When you have running PAND server and other side try to make PAN
> connection,
> that kernel calls HOTPLUG with NET ADD action and you can
> automatically 
> configure BNEP0 interface or do some other action, what do you want.

I want the server to wait (you cud say listen) for a command to come
from the client and when that command comes, the server should be able
to do something, like opening an application. 

I dont want it to start up when the bnep interface comes up while the
connection is established. I cant send the command in the file because
I have to pass many such commands to the server in real-time case.

I think there would be a way out for this. But I am not much of a
programmer. If you can give me any ideas, I can have our programmer
implement the same.

Regards
Lalith

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Data across Bluetooth Connection - Not file transfer
  2004-03-18  9:18   ` Lalith Chakravarthi
@ 2004-03-18 10:00     ` Pavel Ruzicka
  2004-03-18 15:23       ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Ruzicka @ 2004-03-18 10:00 UTC (permalink / raw)
  To: Lalith Chakravarthi; +Cc: bluez-users

Hi,

> I want the server to wait (you cud say listen) for a command to come
> from the client and when that command comes, the server should be able
> to do something, like opening an application.

I have two ideas.
1.  Running server on virtual serial port /dev/rfcomm0 and waiting for 
commands.
2. Running server on IP socket and waiting for commands.

Both solutions are universal for bluetooth, IrDA, serial cable...
You must write daemon, or look on the freshmeat or find something similar with 
Google...

> I think there would be a way out for this. But I am not much of a
> programmer. If you can give me any ideas, I can have our programmer
> implement the same.

I'am not programmer too ;-) Only some perl scripts...

Best regards,

Pavel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Data across Bluetooth Connection - Not file transfer
  2004-03-18 10:00     ` Pavel Ruzicka
@ 2004-03-18 15:23       ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-03-18 15:23 UTC (permalink / raw)
  To: Pavel Ruzicka; +Cc: Lalith Chakravarthi, BlueZ Mailing List

Hi Pavel,

> > I think there would be a way out for this. But I am not much of a
> > programmer. If you can give me any ideas, I can have our programmer
> > implement the same.
> 
> I'am not programmer too ;-) Only some perl scripts...

if you talk about direct Bluetooth programming, it is all about socket
programming. Look at the examples under utils/test/

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-03-18 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-18  6:58 [Bluez-users] Data across Bluetooth Connection - Not file transfer Lalith Chakravarthi
2004-03-18  8:39 ` Pavel Ruzicka
2004-03-18  9:18   ` Lalith Chakravarthi
2004-03-18 10:00     ` Pavel Ruzicka
2004-03-18 15:23       ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).