BlueNRG-MS pack for STM32CubeMX
V4.4.0
The BlueNRG-MS pack is an additional software for STM32CubeMX.
|
hci_tl_template.h File Reference
#include "hci_tl_interface.h"
#include "bluenrg_types.h"
#include "ble_list.h"
#include "bluenrg_conf.h"
Go to the source code of this file.
Data Structures | |
struct | hci_request |
Structure hosting the HCI request. More... | |
struct | _tHciDataPacket |
Structure used to read received HCI data packet. More... | |
struct | tHciIO |
Structure used to manage the BUS IO operations. All the structure fields will point to functions defined at user level. More... | |
struct | tHciContext |
Contain the HCI context. More... | |
Typedefs | |
typedef struct _tHciDataPacket | tHciDataPacket |
Structure used to read received HCI data packet. More... | |
Enumerations | |
enum | tHciflowStatus { HCI_DATA_FLOW_DISABLE = 0, HCI_DATA_FLOW_ENABLE, HCI_DATA_FLOW_DISABLE = 0, HCI_DATA_FLOW_ENABLE } |
Describe the HCI flow status. More... | |
Functions | |
int | hci_send_req (struct hci_request *r, BOOL async) |
Send an HCI request either in synchronous or in asynchronous mode. 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... | |
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... | |
Generated on Mon Apr 15 2019 18:10:39 for BlueNRG-MS pack for STM32CubeMX by 1.8.13