20 lines
287 B
C
20 lines
287 B
C
|
#pragma once
|
||
|
|
||
|
#include "esphome/core/component.h"
|
||
|
|
||
|
class NimBLEScan;
|
||
|
|
||
|
namespace esphome {
|
||
|
namespace my_nimble_tracker {
|
||
|
|
||
|
class MyNimbleTracker : public Component {
|
||
|
public:
|
||
|
void setup() override;
|
||
|
void loop() override;
|
||
|
|
||
|
private:
|
||
|
NimBLEScan *pBLEScan_;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|