BLE shield

Fork of X_NUCLEO_IDB0XA1 by ST

Embed: (wiki syntax)

« Back to documentation index

btle.cpp File Reference

btle.cpp File Reference

Implementation BlueNRG Init and helper functions. More...

Go to the source code of this file.

Functions

void btle_init (bool isSetAddress, uint8_t role)
 Initialises BTLE and the underlying HW/Device.
void SPI_Poll (void)
 Not Used.
void HCI_Event_CB (void *pckt)
 Handle HCI Stack Event.

Variables

int btle_handler_pending = 0
 Andrea: mbedOS.

Detailed Description

Implementation BlueNRG Init and helper functions.

Author:
STMicroelectronics

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 btle.cpp.


Function Documentation

void btle_init ( bool  isSetAddress,
uint8_t  role 
)

Initialises BTLE and the underlying HW/Device.

Parameters:
isSetAddressboolean if address has been set
mosiMOSI Pin
misoMISO Pin
sclkclock Pin
Returns:
void

Definition at line 102 of file btle.cpp.

void HCI_Event_CB ( void *  pckt )

Handle HCI Stack Event.

Callback used to pass events to application.

Parameters:
[in]pcktEvent Packet sent by the stack to be decoded
Returns:

Definition at line 310 of file btle.cpp.

void SPI_Poll ( void   )

Not Used.

Parameters:
[in]void
Returns:

Definition at line 229 of file btle.cpp.


Variable Documentation

Andrea: mbedOS.

Parameters:
[in]void
Returns:

Definition at line 212 of file btle.cpp.