Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BleHandler Class Reference

#include <cs_Handlers.h>

Static Public Member Functions

static void handleEvent (const ble_evt_t *event)
 Handle BLE events. More...
 
static void handleEventDecoupled (const ble_evt_t *event)
 Handle BLE events. More...
 
static void handlePhyRequest (uint16_t connectionHandle, const ble_gap_evt_phy_update_request_t &request)
 
static void handleDataLengthRequest (uint16_t connectionHandle, const ble_gap_evt_data_length_update_request_t &request)
 
static void handleMtuRequest (uint16_t connectionHandle, const ble_gatts_evt_exchange_mtu_request_t &request)
 
static void disconnect (uint16_t connectionHandle, uint8_t reason)
 

Member Function Documentation

◆ disconnect()

static void BleHandler::disconnect ( uint16_t  connectionHandle,
uint8_t  reason 
)
static

◆ handleDataLengthRequest()

static void BleHandler::handleDataLengthRequest ( uint16_t  connectionHandle,
const ble_gap_evt_data_length_update_request_t &  request 
)
static

◆ handleEvent()

static void BleHandler::handleEvent ( const ble_evt_t *  event)
static

Handle BLE events.

Can be called from interrupt.

◆ handleEventDecoupled()

static void BleHandler::handleEventDecoupled ( const ble_evt_t *  event)
static

Handle BLE events.

Must be called from main thread.

◆ handleMtuRequest()

static void BleHandler::handleMtuRequest ( uint16_t  connectionHandle,
const ble_gatts_evt_exchange_mtu_request_t &  request 
)
static

◆ handlePhyRequest()

static void BleHandler::handlePhyRequest ( uint16_t  connectionHandle,
const ble_gap_evt_phy_update_request_t &  request 
)
static

The documentation for this class was generated from the following file: