Dawn Framework 1.0
Universal data acquisition framework for embedded systems
host.hxx
1// dawn/include/dawn/proto/nimble/host.hxx
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#pragma once
7
8#include "dawn/common/thread.hxx"
9#include "dawn/porting/config.hxx"
10#include "dawn/proto/common.hxx"
11#include "host/ble_gap.h"
12
13namespace dawn
14{
23{
24public:
26 : threadCtl()
27 {
28 }
29
30 ~CProtoNimbleHost() = default;
31
32 void start();
33 void stop();
34 bool isRunning() const;
35
36private:
37 CThreadedObject threadCtl;
38
39 void thread();
40};
41} // Namespace dawn
Manages NimBLE Host controller initialization and event processing.
Definition host.hxx:23
Portable thread owner abstraction for Dawn components.
Definition thread.hxx:32
Out-of-tree user-extension hooks for Dawn.
Definition bindable.hxx:13