BSB Developer Docs
Loading...
Searching...
No Matches
ble_callback_types.h File Reference

Type definitions for callbacks used by services and public api ble.h to indicate update and transmit operations. More...

#include <furi.h>

Go to the source code of this file.

Typedefs

typedef void(* BleDataUpdatedCallback) (size_t data_size, void *data, void *context)
 Type of callback to be triggered when new data received by ble characteristic.
 
typedef void(* BleDataTransmitDoneCallback) (void *context)
 Type of callback to be triggered when characteristic finished data transmission.
 

Detailed Description

Type definitions for callbacks used by services and public api ble.h to indicate update and transmit operations.

Typedef Documentation

◆ BleDataTransmitDoneCallback

typedef void(* BleDataTransmitDoneCallback) (void *context)

Type of callback to be triggered when characteristic finished data transmission.

Parameters
[in]contextto be used for this callback

◆ BleDataUpdatedCallback

typedef void(* BleDataUpdatedCallback) (size_t data_size, void *data, void *context)

Type of callback to be triggered when new data received by ble characteristic.

Parameters
[in]data_sizesize of received payload
[in]datapointer to array with received data
[in]contextto be used for this callback