Bluetooth: Add support for vendor-specific events
Add an event handler for HCI vendor-specific events with the event code BT_HCI_EVT_VENDOR. A vendor defined callback can be registered to be called when vendor-Specific events are received in the stack. The callback can then decode and handle the event; if not the stack will decode and handle the event. Signed-off-by: Thomas Ebert Hansen <thoh@oticon.com>
This commit is contained in:
parent
b800737f72
commit
5e1de1a983
3 changed files with 66 additions and 0 deletions
|
@ -590,3 +590,9 @@ config BT_PAGE_TIMEOUT
|
|||
(N * 0.625) ms.
|
||||
|
||||
endif # BT_BREDR
|
||||
|
||||
config BT_HCI_VS_EVT_USER
|
||||
bool "User Vendor-Specific event handling"
|
||||
help
|
||||
Enable registering a callback for delegating to the user the handling of
|
||||
VS events that are not known to the stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue