Dawn Framework 1.0
Universal data acquisition framework for embedded systems
prph_dis.hxx
1// dawn/include/dawn/proto/nimble/prph_dis.hxx
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#pragma once
7
8#include "dawn/porting/config.hxx"
9#include "dawn/proto/common.hxx"
10#include "dawn/proto/nimble/iprph.hxx"
11#include "host/ble_gatt.h"
12
13namespace dawn
14{
22{
23public:
25
26 ~CProtoNimblePrphDis() override;
27
28 int init() override;
29 int deinit() override;
30 int start() override;
31 int stop() override;
32
33private:
34 int id;
35
36 void configureDesc(const SObjectCfg::SObjectCfgItem *item);
37};
38} // Namespace dawn
Device Information Service (DIS) for BLE Peripheral.
Definition prph_dis.hxx:22
int deinit()
Deinitialize service.
Definition prph_dis.cxx:67
int start()
Start service.
Definition prph_dis.cxx:72
int init()
Initialize service.
Definition prph_dis.cxx:38
int stop()
Stop service.
Definition prph_dis.cxx:79
Interface for BLE peripheral services with GATT characteristics.
Definition iprph.hxx:24
Base interface for GATT services exposed by BLE peripheral.
Definition iprph.hxx:467
Out-of-tree user-extension hooks for Dawn.
Definition bindable.hxx:13
Single configuration item within object.