Cellular

interface Cellular : Peripheral

Cellular peripheral interface.

This peripheral allows changing cellular state.

This peripheral can be obtained from a drone using:

drone.getPeripheral(Cellular.class)

See also

com.parrot.drone.groundsdk.device.Drone

Types

Link copied to clipboard
abstract class ApnConfigurationSetting : Setting
APN configuration setting.
Link copied to clipboard
enum Mode
Cellular mode.
Link copied to clipboard
enum ModemStatus
Modem status.
Link copied to clipboard
enum NetworkMode
Configured access technology.
Link copied to clipboard
enum NetworkStatus
Network status.
Link copied to clipboard
enum RegistrationStatus
Registration status.
Link copied to clipboard
enum ResetState
Reset settings operation state.
Link copied to clipboard
enum SimStatus
SIM status.
Link copied to clipboard
enum Technology
Access technology.

Functions

Link copied to clipboard
abstract fun enterPinCode(@NonNull pinCode: String): Boolean
Enter the PIN code.
Link copied to clipboard
abstract fun getApnConfiguration(): Cellular.ApnConfigurationSetting
Gives access to the APN configuration setting.
Link copied to clipboard
abstract fun getIccid(): String
Gets the Integrated Circuit Card Identifier (ICCID).
Link copied to clipboard
abstract fun getImei(): String
Gets the International Mobile Equipment Identity (IMEI).
Link copied to clipboard
abstract fun getModemStatus(): Cellular.ModemStatus
Gets the modem status.
Link copied to clipboard
abstract fun getNetworkStatus(): Cellular.NetworkStatus
Gets the network status.
Link copied to clipboard
abstract fun getOperator(): String
Gets the operator.
Link copied to clipboard
abstract fun getPinRemainingTries(): Int
Gets the PIN remaining tries.
Link copied to clipboard
abstract fun getRegistrationStatus(): Cellular.RegistrationStatus
Gets the registration status.
Link copied to clipboard
abstract fun getResetState(): Cellular.ResetState
Informs about current resetSettings operation state.
Link copied to clipboard
abstract fun getSimImsi(): String
Gets the International Mobile Subscriber Identity (IMSI).
Link copied to clipboard
abstract fun getSimStatus(): Cellular.SimStatus
Gets the SIM status.
Link copied to clipboard
abstract fun getTechnology(): Cellular.Technology
Gets the technology.
Link copied to clipboard
abstract fun isPinCodeInvalid(): Boolean
Tells whether latest submitted PIN code is invalid.
Link copied to clipboard
abstract fun isPinCodeRequested(): Boolean
Tells whether PIN code is requested.
Link copied to clipboard
abstract fun mode(): EnumSetting<Cellular.Mode>
Gives access to the mode setting.
Link copied to clipboard
abstract fun networkMode(): EnumSetting<Cellular.NetworkMode>
Gives access to the network mode setting.
Link copied to clipboard
abstract fun resetSettings(): Boolean
Resets cellular configuration.
Link copied to clipboard
abstract fun roamingAllowed(): BooleanSetting
Gives access to the roaming allowed setting.