public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] notification of baseband conection establishment
@ 2006-12-19 13:25 Loreno Oliveira
  2006-12-19 13:28 ` Marcel Holtmann
  2006-12-19 13:32 ` Pierre-Yves Paulus
  0 siblings, 2 replies; 3+ messages in thread
From: Loreno Oliveira @ 2006-12-19 13:25 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1085 bytes --]

Hi there,

does anybody know some facility for a called device to detect the
establishment of a baseband connection? That is, say we have two devices, A
and B, and A attempts a paging to B. The idea is fire an event in B as soon
as the baseband connection is established.

I thought two ideas for this: first, when the synchronous call to
"hci_create_connection" returns, A then invokes, via SDP, a service
advertised on B, which fires the event on that device (it is reasonable in
my context to assume that B advertises a service such like that). Second,
some application in B runs a thread that constantly monitors the
availability of baseband connections through "hci_for_each_dev function".
Such an application would maintain a data structure for controling existent
conections. When a new conection is established, B updates the data
structure and fires the event.

Well, I was wondering if there is a better solution for this problem.

PS: I am developing over the BlueZ code itself, and not over the utilities
hcitools, hciconfig....

Regards and thanks for any hint...

Loreno

[-- Attachment #1.2: Type: text/html, Size: 1161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-12-19 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 13:25 [Bluez-users] notification of baseband conection establishment Loreno Oliveira
2006-12-19 13:28 ` Marcel Holtmann
2006-12-19 13:32 ` Pierre-Yves Paulus

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