XDK API  3.6.0
Documentation
Typedefs | Enumerations | Functions
BCDS_BlePeripheral.h File Reference
#include "BCDS_Retcode.h"
#include "BCDS_Ble.h"
+ Include dependency graph for BCDS_BlePeripheral.h:
+ This graph shows which files directly or indirectly include this file:

Typedefs

typedef enum Ble_PeripheralEvent_E BlePeripheral_Event_T
 Typedef to represent the Bluetooth peripheral event. More...
 
typedef void(* BlePeripheral_EventCallback )(BlePeripheral_Event_T event, void *data)
 Callback function signature to be called when the BLE stack changes its state. More...
 
typedef Retcode_T(* BlePeripheral_ServiceRegistryCallback )(void)
 Callback function definition to be called in order to register the BLE services the application wants to use. More...
 

Enumerations

enum  Ble_PeripheralEvent_E
 Enumeration to represent the Bluetooth peripheral events. More...
 

Functions

Retcode_T BlePeripheral_Deinitialize (void)
 De-initializes the BLE stack, corresponding resources and modules. More...
 
uint32_t BlePeripheral_GetBleTaskStackHighwaterMark (void)
 Gets the BLE peripheral task stack high water mark. More...
 
uint16_t BlePeripheral_GetConnectionHandle (void)
 Gets the Connection handle. More...
 
Retcode_T BlePeripheral_Initialize (BlePeripheral_EventCallback callBackOnEvent, BlePeripheral_ServiceRegistryCallback serviceRegistryCallback)
 Initializes the BLE Peripheral module. More...
 
Retcode_T BlePeripheral_SetDeviceName (uint8_t *name)
 Sets the device name which will be visible to scanning devices. More...
 
Retcode_T BlePeripheral_SetMacAddress (uint64_t macAddress)
 Sets the MAC address of the device. More...
 
Retcode_T BlePeripheral_Sleep (void)
 Sets the BLE peripheral into SLEEP mode. More...
 
Retcode_T BlePeripheral_Start (void)
 Starts the BLE module as a peripheral. More...
 
Retcode_T BlePeripheral_Wakeup (void)
 Wakes up the BLE peripheral and makes it discoverable. More...
 

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:47 by doxygen 1.8.8