Mistake on this page?
Report an issue in GitHub or email us
hci_handler.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief Interface to HCI event handler.
6  *
7  * Copyright (c) 2009-2018 Arm Ltd. All Rights Reserved.
8  *
9  * Copyright (c) 2019 Packetcraft, Inc.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 /*************************************************************************************************/
24 #ifndef HCI_HANDLER_H
25 #define HCI_HANDLER_H
26 
27 #include "wsf_os.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 /*! \addtogroup STACK_EVENT
34  * \{ */
35 
36 /** \name HCI Event Handling
37  * Message passing interface to HCI from application and other stack layers through WSF.
38  */
39 /**@{*/
40 
41 /**************************************************************************************************
42  Function Declarations
43 **************************************************************************************************/
44 
45 /*************************************************************************************************/
46 /*!
47  * \brief HCI handler init function called during system initialization.
48  *
49  * \param handlerId WSF handler ID for HCI.
50  *
51  * \return None.
52  */
53 /*************************************************************************************************/
54 void HciHandlerInit(wsfHandlerId_t handlerId);
55 
56 
57 /*************************************************************************************************/
58 /*!
59  * \brief WSF event handler for HCI.
60  *
61  * \param event WSF event mask.
62  * \param pMsg WSF message.
63  *
64  * \return None.
65  */
66 /*************************************************************************************************/
67 void HciHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
68 
69 /**@}*/
70 /*! \} */ /* STACK_HCI_API */
71 
72 #ifdef __cplusplus
73 };
74 #endif
75 
76 #endif /* HCI_HANDLER_H */
uint16_t wsfEventMask_t
Event handler event mask data type.
Definition: wsf_os.h:83
void HciHandlerInit(wsfHandlerId_t handlerId)
HCI handler init function called during system initialization.
uint8_t wsfHandlerId_t
Event handler ID data type.
Definition: wsf_os.h:80
void HciHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg)
WSF event handler for HCI.
Software foundation OS API.
Common message structure passed to event handler.
Definition: wsf_os.h:106
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.