pub fn start(&mut self) -> TockResult<BleScanningDriverScanning> {
        let subscription = syscalls::subscribe::<BleCallback<'a>, BleCallback<'a>>(
            DRIVER_NUMBER,
            subscribe_nr::BLE_PASSIVE_SCAN_SUB,
            &mut self.callback,
        )?;
        syscalls::command(DRIVER_NUMBER, command_nr::PASSIVE_SCAN, 1, 0)?;
        Ok(BleScanningDriverScanning {
            _subscription: subscription,
            read_value: self.read_value,
        })
    }
/// Start scanning for ble advertising events
Start scanning for ble advertising events
Start scanning for ble advertising events
pub fn start(&mut self) -> TockResult<BleScanningDriverScanning> {
        let subscription = syscalls::subscribe::<BleCallback<'a>, BleCallback<'a>>(
            DRIVER_NUMBER,
            subscribe_nr::BLE_PASSIVE_SCAN_SUB,
            &mut self.callback,
        )?;
        syscalls::command(DRIVER_NUMBER, command_nr::PASSIVE_SCAN, 1, 0)?;
        Ok(BleScanningDriverScanning {
            _subscription: subscription,
            read_value: self.read_value,
        })
    }
pub fn start ( & mut self ) -> TockResult < BleScanningDriverScanning > { let subscription = syscalls :: subscribe :: < BleCallback < ' a > , BleCallback < ' a > > ( DRIVER_NUMBER , subscribe_nr :: BLE_PASSIVE_SCAN_SUB , & mut self . callback , ) ? ; syscalls :: command ( DRIVER_NUMBER , command_nr :: PASSIVE_SCAN , 1 , 0 ) ? ; Ok ( BleScanningDriverScanning { _subscription : subscription , read_value : self . read_value , } ) }
Start scanning for ble advertising events
Start scanning for ble advertising events
&mut self