esp-nimble-cpp 2.2.1
Loading...
Searching...
No Matches
NimBLEDeviceCallbacks Class Reference

Callbacks associated with a BLE device. More...

#include <NimBLEDevice.h>

Public Member Functions

virtual int onStoreStatus (struct ble_store_status_event *event, void *arg)
 Indicates an inability to perform a store operation. This callback should do one of two things: -Address the problem and return 0, indicating that the store operation should proceed. -Return nonzero to indicate that the store operation should be aborted.
 

Detailed Description

Callbacks associated with a BLE device.

Member Function Documentation

◆ onStoreStatus()

int NimBLEDeviceCallbacks::onStoreStatus ( struct ble_store_status_event *  event,
void *  arg 
)
virtual

Indicates an inability to perform a store operation. This callback should do one of two things: -Address the problem and return 0, indicating that the store operation should proceed. -Return nonzero to indicate that the store operation should be aborted.

Parameters
eventDescribes the store event being reported. BLE_STORE_EVENT_FULL; or BLE_STORE_EVENT_OVERFLOW
Returns
0 if the store operation should proceed; nonzero if the store operation should be aborted.