All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Code questions
@ 2005-02-16 15:14 zze-COLBUS Emmanuel RD-MAPS-GRE
  2005-02-21 23:17 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: zze-COLBUS Emmanuel RD-MAPS-GRE @ 2005-02-16 15:14 UTC (permalink / raw)
  To: bluez-devel

Hello,

I've looked to the code of BlueTooth in the linux 2.6.10 kernel, and
I've a few questions : 

- I've noticed that OCF_PIN_CODE_REPLY and OCF_PIN_CODE_NEG_REPLY are
defined in include/net/bluetooth/hci.h, but never used in the code; and
that the function hci_pin_code_request_evt() is void. Does it mean that
the current BlueZ implementation doesn't support PIN codes? (Just making
sure.)

- Is the PIN Code Request event masked away (I think it is, because I
also read the BlueTooth Specification, and it doesn't allow not reacting
to this event), and in this case, were is it masked? I didn't found the
masking in the code.

- I've noticed the same for other events (that they were not treated).
Are they also just masked away, and, if yes, were in the code do this
masking happens?

Emmanuel Colbus

-- 
Please don't care about this useless mail signature:

M. Emmanuel Colbus de l'ENSIMAG intervenant à FTRD/MAPS/AMS du 01/02/05 
au 30/06/05 sous la responsabilité de M. Tahar Jarboui dans le cadre 
d'un stage de fin d'études.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Code questions
  2005-02-16 15:14 [Bluez-devel] Code questions zze-COLBUS Emmanuel RD-MAPS-GRE
@ 2005-02-21 23:17 ` Marcel Holtmann
  2005-02-23 16:14   ` zze-COLBUS Emmanuel RD-MAPS-GRE
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2005-02-21 23:17 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Emmanuel,

> I've looked to the code of BlueTooth in the linux 2.6.10 kernel, and
> I've a few questions : 
> 
> - I've noticed that OCF_PIN_CODE_REPLY and OCF_PIN_CODE_NEG_REPLY are
> defined in include/net/bluetooth/hci.h, but never used in the code; and
> that the function hci_pin_code_request_evt() is void. Does it mean that
> the current BlueZ implementation doesn't support PIN codes? (Just making
> sure.)

currently these events are handled by the hcid, but for the upcoming
security and profile manager they will be moved inside the kernel.

> - Is the PIN Code Request event masked away (I think it is, because I
> also read the BlueTooth Specification, and it doesn't allow not reacting
> to this event), and in this case, were is it masked? I didn't found the
> masking in the code.

Nothing is masked away.

> - I've noticed the same for other events (that they were not treated).
> Are they also just masked away, and, if yes, were in the code do this
> masking happens?

Explain what you mean.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Code questions
  2005-02-21 23:17 ` Marcel Holtmann
@ 2005-02-23 16:14   ` zze-COLBUS Emmanuel RD-MAPS-GRE
  0 siblings, 0 replies; 3+ messages in thread
From: zze-COLBUS Emmanuel RD-MAPS-GRE @ 2005-02-23 16:14 UTC (permalink / raw)
  To: bluez-devel

Hello,

>[...] 

Thank you for the previous answers, now the stack has become clearer to
me :) .

> 
> > - I've noticed the same for other events (that they were not treated).
> > Are they also just masked away, and, if yes, were in the code do this
> > masking happens?
> 
> Explain what you mean.

I was especially thinking about the hardware_error event : I haven't
found any place were he was handled. Is it masked away, ignored, or
treated, and, if yes, where in the code?

Regards,

Emmanuel

-- 
Please don't care about this useless mail signature:

M. Emmanuel Colbus de l'ENSIMAG intervenant à FTRD/MAPS/AMS du 01/02/05 
au 30/06/05 sous la responsabilité de M. Tahar Jarboui dans le cadre 
d'un stage de fin d'études.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-02-23 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-16 15:14 [Bluez-devel] Code questions zze-COLBUS Emmanuel RD-MAPS-GRE
2005-02-21 23:17 ` Marcel Holtmann
2005-02-23 16:14   ` zze-COLBUS Emmanuel RD-MAPS-GRE

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.