Программа считывает показания датчиков и управляет сервомашинками.

Dependencies:   mbed-src

Fork of NUCLEO_BLUENRG by Ostap Ostapsky

Embed: (wiki syntax)

« Back to documentation index

hci.c File Reference

hci.c File Reference

Function for managing HCI interface. More...

Go to the source code of this file.

Functions

void HCI_Init (void)
 Initialization function.
void HCI_Input (tHciDataPacket *hciReadPacket)
 This function must be used to pass the packet received from the HCI interface to the BLE Stack HCI state machine.
void HCI_Process (void)
 Processing function that must be called after an event is received from HCI interface.

Detailed Description

Function for managing HCI interface.

Author:
AMS/HESA 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

Definition in file hci.c.


Function Documentation

void HCI_Init ( void   )

Initialization function.

Must be done before any data can be received from BLE controller.

Definition at line 65 of file hci.c.

void HCI_Input ( tHciDataPacket *  hciReadPacket )

This function must be used to pass the packet received from the HCI interface to the BLE Stack HCI state machine.

Parameters:
[in]hciReadPacketThe packet that is received from HCI interface.

Definition at line 87 of file hci.c.

void HCI_Process ( void   )

Processing function that must be called after an event is received from HCI interface.

Must be called outside ISR. It will call HCI_Event_CB if necessary.

Definition at line 181 of file hci.c.