Files
evDash/CommObd2Ble4.h
Lubos Petrovic ea6261f09e can
2020-12-20 17:12:38 +01:00

22 lines
451 B
C++

#pragma once
#include <BLEDevice.h>
#include "LiveData.h"
#include "CommInterface.h"
class CommObd2Ble4 : public CommInterface {
protected:
uint32_t PIN = 1234;
public:
void connectDevice() override;
void disconnectDevice() override;
void scanDevices() override;
void mainLoop() override;
void executeCommand(String cmd) override;
//
void startBleScan();
bool connectToServer(BLEAddress pAddress);
//
};