Comm interface
This commit is contained in:
@@ -1,17 +1,25 @@
|
||||
#ifndef COMMOBD2BLE4_H
|
||||
#define COMMOBD2BLE4_H
|
||||
|
||||
#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 startBleScan();
|
||||
bool connectToServer(BLEAddress pAddress);
|
||||
bool doNextAtCommand();
|
||||
bool parseRow();
|
||||
bool parseRowMerged();
|
||||
};
|
||||
|
||||
#endif // COMMOBD2BLE4_H
|
||||
|
||||
Reference in New Issue
Block a user