6#include "dawn/proto/nimble/prph_dis.hxx"
14 void ble_svc_dis_init();
33CProtoNimblePrphDis::~CProtoNimblePrphDis()
43 static bool s_dis_initialized =
false;
49 if (!s_dis_initialized)
52 s_dis_initialized =
true;
60 DAWNERR(
"DIS service registration failed\n");
int deinit()
Deinitialize service.
int start()
Start service.
int init()
Initialize service.
Interface for BLE peripheral services with GATT characteristics.
virtual int startService(int id)=0
Start a specific service.
virtual int serviceRegister(struct ble_gatt_svc_def *svc)=0
Register a GATT service with the peripheral.
virtual int stopService(int id)=0
Stop a specific service.
Base interface for GATT services exposed by BLE peripheral.
const SObjectCfg::SObjectCfgItem * desc
Configuration descriptor for this service.
IProtoNimblePrphCb * cb
Callback interface to peripheral.
Out-of-tree user-extension hooks for Dawn.
Single configuration item within object.