My Project
Loading...
Searching...
No Matches
BLEHubScanner.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
BLEHub.h
"
4
#include "NimBLEDevice.h"
5
#include <Arduino.h>
6
7
class
BLEHubScanner
8
{
9
public
:
10
BLEHubScanner
();
11
12
// Public members
13
14
// Starts device discovery (if not already discovering).
15
void
StartDiscovery
(std::vector<BLEHub *> &hubs,
const
uint32_t scanDurationInSeconds);
16
17
private
:
18
// Private members
19
20
// Reference to the BLE scanner used by this controller.
21
NimBLEScan *_scanner;
22
23
// Reference to the device callback.
24
NimBLEAdvertisedDeviceCallbacks *_advertisedDeviceCallback;
25
26
// Boolean value indicating whether scanner is active.
27
bool
_isDiscovering;
28
};
BLEHub.h
BLEHubScanner
Definition
BLEHubScanner.h:8
BLEHubScanner::StartDiscovery
void StartDiscovery(std::vector< BLEHub * > &hubs, const uint32_t scanDurationInSeconds)
Definition
BLEHubScanner.cpp:23
BLEHubScanner::BLEHubScanner
BLEHubScanner()
Definition
BLEHubScanner.cpp:7
src
MattzoStuff
MattzoControllers
src
MTC4BT
include
BLEHubScanner.h
Generated by
1.10.0