pub fn share_memory(&mut self) -> TockResult<BleScanningDriverShared> {
        let shared_buffer: SharedMemory = syscalls::allow(
            DRIVER_NUMBER,
            allow_nr::ALLOW_SCAN_BUFFER,
            &mut self.shared_buffer,
        )
        .map_err(Into::<TockError>::into)?;
        Ok(BleScanningDriverShared {
            read_value: &self.read_value,
            callback: BleCallback {
                read_value: &self.read_value,
                shared_buffer,
            },
        })
    }
/// Prepare Ble Scanning Driver to share memory with the ble capsule
Prepare Ble Scanning Driver to share memory with the ble capsule
Prepare Ble Scanning Driver to share memory with the ble capsule
pub fn share_memory(&mut self) -> TockResult<BleScanningDriverShared> {
        let shared_buffer: SharedMemory = syscalls::allow(
            DRIVER_NUMBER,
            allow_nr::ALLOW_SCAN_BUFFER,
            &mut self.shared_buffer,
        )
        .map_err(Into::<TockError>::into)?;
        Ok(BleScanningDriverShared {
            read_value: &self.read_value,
            callback: BleCallback {
                read_value: &self.read_value,
                shared_buffer,
            },
        })
    }
pub fn share_memory ( & mut self ) -> TockResult < BleScanningDriverShared > { let shared_buffer : SharedMemory = syscalls :: allow ( DRIVER_NUMBER , allow_nr :: ALLOW_SCAN_BUFFER , & mut self . shared_buffer , ) . map_err ( Into :: < TockError > :: into ) ? ; Ok ( BleScanningDriverShared { read_value : & self . read_value , callback : BleCallback { read_value : & self . read_value , shared_buffer , } , } ) }
Prepare Ble Scanning Driver to share memory with the ble capsule
Prepare Ble Scanning Driver to share memory with the ble capsule
&mut self