The result of having performed a scan. When a scan completes, we have a set of found devices. Each device is described by a object. The number of items in the set is given by . We can retrieve a device by calling passing in the index (starting at 0) of the desired device.
Dump the scan results to the log.
Return the count of devices found in the last scan.
int The number of devices found in the last scan.
Return the specified device at the given index. The index should be between 0 and -1.
BLEAdvertisedDevice BLEScanResults::getDevice(uint32_t i)
iThe index of the device.
BLEAdvertisedDevice The device at the specified index.