You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
473B

  1. #ifndef IBeaconTransmitter_ESP32_h_
  2. #define IBeaconTransmitter_ESP32_h_
  3. #include "sdkconfig.h"
  4. #include <esp_gatt_defs.h>
  5. #include <string>
  6. #include "BLEDevice.h"
  7. #include "BLEUtils.h"
  8. #include "BLEBeacon.h"
  9. #include "IBeaconTransmitter.h"
  10. class IBeaconTransmitter_ESP32: public IBeaconTransmitter {
  11. private:
  12. BLEAdvertising *pAdvertising;
  13. public:
  14. IBeaconTransmitter_ESP32(IBeacon *iBeacon);
  15. void start();
  16. void stop();
  17. };
  18. #endif