SDK
23.9.2
For IoT System Software Development
|
The result of having performed a scan. When a scan completes, we have a set of found devices. Each device is described by a BLEAdvertisedDevice object. The number of items in the set is given by getCount(). We can retrieve a device by calling getDevice() passing in the index (starting at 0) of the desired device. More...
#include <BLEScan.hpp>
Public Member Functions | |
void | dump () |
Dump the scan results to the log. | |
int | getCount () |
Return the count of devices found in the last scan. More... | |
BLEAdvertisedDevice | getDevice (uint32_t i) |
Return the specified device at the given index. The index should be between 0 and getCount()-1. More... | |
The result of having performed a scan. When a scan completes, we have a set of found devices. Each device is described by a BLEAdvertisedDevice object. The number of items in the set is given by getCount(). We can retrieve a device by calling getDevice() passing in the index (starting at 0) of the desired device.
int BLEScanResults::getCount | ( | ) |
BLEAdvertisedDevice BLEScanResults::getDevice | ( | uint32_t | i | ) |
Return the specified device at the given index. The index should be between 0 and getCount()-1.
[in] | i | The index of the device. |