BlueNRG-MS pack for STM32CubeMX
V4.4.0
The BlueNRG-MS pack is an additional software for STM32CubeMX.
|
hci_tl_template.c File Reference
Function for managing framework required for handling HCI interface. More...
Functions | |
void | hci_init (void(*UserEvtRx)(void *pData), void *pConf) |
Initialize the Host Controller Interface. This function must be called before any data can be received from BLE controller. More... | |
void | hci_register_io_bus (tHciIO *fops) |
Register IO bus services. The tHciIO structure is initialized here by assigning to each structure field a function for managing the IO Bus. E.g. In case the user needs to register the SPI bus services: More... | |
int | hci_send_req (struct hci_request *r, BOOL async) |
Send an HCI request either in synchronous or in asynchronous mode. More... | |
void | hci_user_evt_proc (void) |
Processing function that must be called after an event is received from HCI interface. It must be called outside ISR. It will call user_notify() if necessary. More... | |
int32_t | hci_notify_asynch_evt (void *pdata) |
Interrupt service routine that must be called when the BlueNRG reports a packet received or an event to the host through the BlueNRG-MS interrupt line. More... | |
void | hci_resume_flow (void) |
This function resume the User Event Flow which has been stopped on return from UserEvtRx() when the User Event has not been processed. More... | |
void | hci_cmd_resp_wait (uint32_t timeout) |
This function is called when an ACI/HCI command is sent and the response is waited from the BLE core. The application shall implement a mechanism to not return from this function until the waited event is received. This is notified to the application with hci_cmd_resp_release(). It is called from the same context the HCI command has been sent. More... | |
void | hci_cmd_resp_release (uint32_t flag) |
This function is called when an ACI/HCI command is sent and the response is received from the BLE core. More... | |
Detailed Description
Function for managing framework required for handling HCI interface.
- Author
- AMG RF Application Team THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
© COPYRIGHT 2013 STMicroelectronics
Generated on Mon Apr 15 2019 18:10:39 for BlueNRG-MS pack for STM32CubeMX by 1.8.13