Device Manager feature

command message olympe.messages.devicemanager.Command.ChangeConnectionParameters(uid=None, wifi=None, cellular=None, microhard=None, mars=None, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

uid : string

wifiolympe.messages.devicemanager.Command.ChangeConnectionParameters.Wifi()

(mutually exclusive with: cellular, microhard, mars)

cellularolympe.messages.devicemanager.Command.ChangeConnectionParameters.Cellular()

(mutually exclusive with: wifi, microhard, mars)

microhardolympe.messages.devicemanager.Command.ChangeConnectionParameters.Microhard()

(mutually exclusive with: wifi, cellular, mars)

marsolympe.messages.devicemanager.Command.ChangeConnectionParameters.Mars()

(mutually exclusive with: wifi, cellular, microhard)

message Cellular(_float_tol=(1e-07, 1e-09), _int_tol=0)
message Mars(_float_tol=(1e-07, 1e-09), _int_tol=0)
message Microhard(power=None, channel=None, bandwidth=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

power : olympe.messages.devicemanager.32Value()

channel : olympe.messages.devicemanager.32Value()

bandwidth : olympe.messages.devicemanager.widthValue()

message Wifi(_float_tol=(1e-07, 1e-09), _int_tol=0)
command message olympe.messages.devicemanager.Command.ConnectDevice(uid=None, wifi=None, cellular=None, microhard=None, mars=None, wake_idle=None, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

uid : string

wifiolympe.messages.devicemanager.Command.ConnectDevice.Wifi()

(mutually exclusive with: cellular, microhard, mars)

cellularolympe.messages.devicemanager.Command.ConnectDevice.Cellular()

(mutually exclusive with: wifi, microhard, mars)

microhardolympe.messages.devicemanager.Command.ConnectDevice.Microhard()

(mutually exclusive with: wifi, cellular, mars)

marsolympe.messages.devicemanager.Command.ConnectDevice.Mars()

(mutually exclusive with: wifi, cellular, microhard)

wake_idle : bool

message Cellular(_float_tol=(1e-07, 1e-09), _int_tol=0)
message Mars(_float_tol=(1e-07, 1e-09), _int_tol=0)
message Microhard(power=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

power : olympe.messages.devicemanager.32Value()

message Wifi(security_key=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

security_key : string

command message olympe.messages.devicemanager.Command.DiscoverDevices(use_backup_radio=None, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

use_backup_radio : bool

command message olympe.messages.devicemanager.Command.ForgetDevice(uid=None, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

uid : string

command message olympe.messages.devicemanager.Command.GetState(include_default_capabilities=None, supports_fast_connection=None, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

include_default_capabilities : bool

supports_fast_connection : bool

command message olympe.messages.devicemanager.Command.StopDiscovery(_timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09), _int_tol=0)
event message olympe.messages.devicemanager.Event.ConnectionFailure(device=None, transport=None, reason=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

event message olympe.messages.devicemanager.Event.DiscoveredDevices(devices=None, status=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

event message olympe.messages.devicemanager.Event.PairingDone(paired_device=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

event message olympe.messages.devicemanager.Event.PairingFailed(reason=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

event message olympe.messages.devicemanager.Event.State(default_capabilities=None, known_devices=None, idle=None, searching=None, connecting=None, connected=None, disconnecting=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

default_capabilities : olympe.messages.devicemanager.Capabilities()

known_devices : olympe.messages.devicemanager.Event.State.KnownDevices()

idleolympe.messages.devicemanager.ConnectionState.Idle()

(mutually exclusive with: searching, connecting, connected, disconnecting)

searchingolympe.messages.devicemanager.ConnectionState.Searching()

(mutually exclusive with: idle, connecting, connected, disconnecting)

connectingolympe.messages.devicemanager.ConnectionState.Connecting()

(mutually exclusive with: idle, searching, connected, disconnecting)

connectedolympe.messages.devicemanager.ConnectionState.Connected()

(mutually exclusive with: idle, searching, connecting, disconnecting)

disconnectingolympe.messages.devicemanager.ConnectionState.Disconnecting()

(mutually exclusive with: idle, searching, connecting, connected)

message KnownDevices(devices=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

message olympe.messages.devicemanager.BackupLinkInfo(_float_tol=(1e-07, 1e-09), _int_tol=0)
message olympe.messages.devicemanager.Capabilities(discovery_transports=None, microhard=None, available_transports=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

message Microhard(power_min=None, power_max=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

power_min : u32

power_max : u32

message olympe.messages.devicemanager.CellularInfo(_float_tol=(1e-07, 1e-09), _int_tol=0)
message olympe.messages.devicemanager.ConnectionState(_float_tol=(1e-07, 1e-09), _int_tol=0)
message Connected(device=None, transport=None, backup_link=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

device : olympe.messages.devicemanager.DeviceInfo()

transport : olympe.enums.devicemanager.Transport

backup_link : olympe.enums.devicemanager.kState

message Connecting(device=None, transport=None, sdk_ready=None, backup_link=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

device : olympe.messages.devicemanager.DeviceInfo()

transport : olympe.enums.devicemanager.Transport

sdk_ready : bool

backup_link : olympe.enums.devicemanager.kState

message Disconnecting(device=None, transport=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

message Idle(_float_tol=(1e-07, 1e-09), _int_tol=0)
message Searching(scanning_idle_devices=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

scanning_idle_devices : bool

message olympe.messages.devicemanager.DeviceInfo(uid=None, model=None, network_id=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

uid : string

model : u32

network_id : string

message olympe.messages.devicemanager.DiscoveredDevice(info=None, known=None, wifi_visibility=None, cellular_visibility=None, backup_link_visibility=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

message BackupLinkVisibility(drone_started=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

drone_started : bool

message CellularVisibility(transport_info=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

message WifiVisibility(transport_info=None, rssi=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

transport_info : olympe.messages.devicemanager.WifiInfo()

rssi : i32

message olympe.messages.devicemanager.KnownDevice(info=None, wifi=None, cellular=None, microhard=None, mars=None, backup_link=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

message olympe.messages.devicemanager.MarsInfo(_float_tol=(1e-07, 1e-09), _int_tol=0)
message olympe.messages.devicemanager.MicrohardInfo(power=None, channel=None, bandwidth=None, encryption_algorithm=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

power : u32

channel : u32

bandwidth : olympe.enums.devicemanager.width

encryption_algorithm : olympe.enums.devicemanager.yption

message olympe.messages.devicemanager.WifiInfo(security=None, saved_key=None, _float_tol=(1e-07, 1e-09), _int_tol=0)

Parameters:

security : olympe.enums.devicemanager.WifiSecurity

saved_key : bool

enum olympe.enums.devicemanager.ConnectionFailureReason
peer_limit:
authentication_failed:
radio_not_ready:
enum olympe.enums.devicemanager.DiscoveryStatus
success:
error_radio_not_ready:
error_no_discoverable_drone:
enum olympe.enums.devicemanager.PairingFailureReason
radio_not_ready:
no_remote_antenna:
enum olympe.enums.devicemanager.Transport
wifi:
cellular:
microhard:
mars:
enum olympe.enums.devicemanager.WifiSecurity
none:
wpa2: