public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Automatic Object Pushing when Devices Enter Range
@ 2006-10-04 21:19 bb.bluez
  2006-10-05  0:29 ` Cris
  0 siblings, 1 reply; 6+ messages in thread
From: bb.bluez @ 2006-10-04 21:19 UTC (permalink / raw)
  To: Bluez-users

Hello all!

I'm trying to determine if there's a better way then polling "hcitool scan"
every few seconds to receive notification when a new device is connectable.

The goal is to automatically push a file to each device as it comes within
range without requiring any user intervention (on the server side, of course).
Naturally a certain amount of accounting will need to be done to avoid
duplication and spammage, but I'm primarily curious if there's any event
system or rc.d script system similar to some things I've seen on the FreeBSD
side to enable this behavior.

I'd really like is a way to register or specify a script to be called
whenever a device comes within range.  I'd expect the script to be passed the
address of the device, allowing me to interrogate it regarding it's
capabilities, and so forth.

The alternative is, of course, to call "hcitool scan" every few seconds,
compare with a log of the known or seen ID's, and process from there, but as
we were all taught in grammar school CS, polling is bad mm'kay.

Comments?  Suggestions?
--B


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-10-05 11:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04 21:19 [Bluez-users] Automatic Object Pushing when Devices Enter Range bb.bluez
2006-10-05  0:29 ` Cris
2006-10-05  1:20   ` Benn
2006-10-05 11:10     ` Cris
2006-10-05  7:22   ` Marcel Holtmann
2006-10-05 11:27     ` Cris

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