2018-05-13 11:37:02 +02:00
|
|
|
ESP32 Bluetooth Low Energy Tracker
|
|
|
|
==================================
|
|
|
|
|
|
|
|
Example Usage
|
|
|
|
-------------
|
|
|
|
|
|
|
|
.. code-block:: cpp
|
|
|
|
|
|
|
|
auto *tracker = App.make_esp32_ble_tracker();
|
|
|
|
// MAC address AC:37:43:77:5F:4C
|
|
|
|
App.register_binary_sensor(tracker->make_device("ESP32 Bluetooth Beacon", {
|
|
|
|
0xAC, 0x37, 0x43, 0x77, 0x5F, 0x4C
|
|
|
|
}));
|
|
|
|
|
2018-05-14 21:15:49 +02:00
|
|
|
.. cpp:namespace:: nullptr
|
2018-05-13 11:37:02 +02:00
|
|
|
|
|
|
|
See :cpp:func:`Application::make_esp32_ble_tracker`.
|
|
|
|
|
|
|
|
API Reference
|
|
|
|
-------------
|
|
|
|
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
|
|
|
|
.. doxygenclass:: ESP32BLETracker
|
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
2018-08-22 22:05:28 +02:00
|
|
|
.. doxygenclass:: ESP32BLEPresenceDevice
|
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
|
|
|
.. doxygenclass:: ESP32BLERSSISensor
|
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
2018-11-10 15:29:50 +01:00
|
|
|
.. doxygenclass:: XiaomiSensor
|
2018-08-22 22:05:28 +02:00
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
2018-11-10 15:29:50 +01:00
|
|
|
.. doxygenclass:: XiaomiDevice
|
2018-08-22 22:05:28 +02:00
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
|
|
|
.. doxygenclass:: ESPBTDevice
|
2018-05-13 11:37:02 +02:00
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
|
|
|
.. doxygenvariable:: global_esp32_ble_tracker
|
|
|
|
.. doxygenvariable:: semaphore_scan_end
|
2018-08-22 22:05:28 +02:00
|
|
|
|
|
|
|
.. doxygenclass:: ESPBTUUID
|
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|