WifiScanner

interface WifiScanner : Peripheral

WifiScanner peripheral interface for Drone devices.

Allows scanning the device's WIFI environment to obtain information about the current occupation of WIFI channels.

This peripheral can be obtained from a drone using:

drone.getPeripheral(WifiScanner.class)

See also

com.parrot.drone.groundsdk.device.Drone

Functions

Link copied to clipboard
@IntRange(from = 0)
abstract fun getChannelOccupationRate(@NonNull channel: Channel): Int
Retrieves the amount of WIFI networks that are currently using a given WIFI channel.
Link copied to clipboard
abstract fun isScanning(): Boolean
Tells whether the peripheral is currently scanning WIFI networks environment.
Link copied to clipboard
abstract fun startScan()
Requests the WIFI environment scanning process to start.
Link copied to clipboard
abstract fun stopScan()
Requests an ongoing scan operation to stop.