Krolyxon
Commit 3631045

Branches

Tags

Refs →

orion-rfsrclibsBleConnectionStatus.h

20 lines · 522 B · Objective-C

1#ifndef ESP32_BLE_CONNECTION_STATUS_H
2#define ESP32_BLE_CONNECTION_STATUS_H
3#include "sdkconfig.h"
4#if defined(CONFIG_BT_ENABLED)
5
6#include "BLE2902.h"
7#include "BLECharacteristic.h"
8#include <BLEServer.h>
9
10class BleConnectionStatus : public BLEServerCallbacks {
11 public:
12 BleConnectionStatus(void);
13 bool connected = false;
14 void onConnect(BLEServer *pServer);
15 void onDisconnect(BLEServer *pServer);
16 BLECharacteristic *inputMouse;
17};
18
19#endif // CONFIG_BT_ENABLED
20#endif // ESP32_BLE_CONNECTION_STATUS_H