[−][src]Trait rubble::beacon::ScanCallback
Callback for the BeaconScanner
.
Required methods
fn beacon<'a, I>(&mut self, adv_addr: DeviceAddress, adv_data: I) where
I: Iterator<Item = AdStructure<'a>>,
I: Iterator<Item = AdStructure<'a>>,
Called when a beacon is received and has passed the configured device address filter.
Parameters
adv_addr
: Address of the device sending the beacon.adv_data
: Advertising data structures attached to the beacon.