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
- wifi
olympe.messages.devicemanager.Command.ChangeConnectionParameters.Wifi() (mutually exclusive with: cellular, microhard, mars)
- cellular
olympe.messages.devicemanager.Command.ChangeConnectionParameters.Cellular() (mutually exclusive with: wifi, microhard, mars)
- microhard
olympe.messages.devicemanager.Command.ChangeConnectionParameters.Microhard() (mutually exclusive with: wifi, cellular, mars)
- mars
olympe.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)¶
- wifi
- 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
- wifi
olympe.messages.devicemanager.Command.ConnectDevice.Wifi() (mutually exclusive with: cellular, microhard, mars)
- cellular
olympe.messages.devicemanager.Command.ConnectDevice.Cellular() (mutually exclusive with: wifi, microhard, mars)
- microhard
olympe.messages.devicemanager.Command.ConnectDevice.Microhard() (mutually exclusive with: wifi, cellular, mars)
- mars
olympe.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
- wifi
- 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:
device :
olympe.messages.devicemanager.DeviceInfo()transport :
olympe.enums.devicemanager.Transport
- event message olympe.messages.devicemanager.Event.DiscoveredDevices(devices=None, status=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)¶
Parameters:
devices : list(
olympe.messages.devicemanager.DiscoveredDevice())
- event message olympe.messages.devicemanager.Event.PairingDone(paired_device=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)¶
Parameters:
paired_device :
olympe.messages.devicemanager.KnownDevice()
- 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()- idle
olympe.messages.devicemanager.ConnectionState.Idle() (mutually exclusive with: searching, connecting, connected, disconnecting)
- searching
olympe.messages.devicemanager.ConnectionState.Searching() (mutually exclusive with: idle, connecting, connected, disconnecting)
- connecting
olympe.messages.devicemanager.ConnectionState.Connecting() (mutually exclusive with: idle, searching, connected, disconnecting)
- connected
olympe.messages.devicemanager.ConnectionState.Connected() (mutually exclusive with: idle, searching, connecting, disconnecting)
- disconnecting
olympe.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:
devices : list(
olympe.messages.devicemanager.KnownDevice())
- idle
- 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:
discovery_transports : list(
olympe.enums.devicemanager.Transport)microhard :
olympe.messages.devicemanager.Capabilities.Microhard()available_transports : list(
olympe.enums.devicemanager.Transport)- 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.Transportbackup_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.Transportsdk_ready : bool
backup_link :
olympe.enums.devicemanager.kState
- message Disconnecting(device=None, transport=None, _float_tol=(1e-07, 1e-09), _int_tol=0)¶
Parameters:
device :
olympe.messages.devicemanager.DeviceInfo()transport :
olympe.enums.devicemanager.Transport
- 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:
info :
olympe.messages.devicemanager.DeviceInfo()known : bool
wifi_visibility :
olympe.messages.devicemanager.DiscoveredDevice.WifiVisibility()cellular_visibility :
olympe.messages.devicemanager.DiscoveredDevice.CellularVisibility()backup_link_visibility :
olympe.messages.devicemanager.DiscoveredDevice.BackupLinkVisibility()- 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:
transport_info :
olympe.messages.devicemanager.CellularInfo()
- 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:
info :
olympe.messages.devicemanager.DeviceInfo()wifi :
olympe.messages.devicemanager.WifiInfo()cellular :
olympe.messages.devicemanager.CellularInfo()microhard :
olympe.messages.devicemanager.MicrohardInfo()mars :
olympe.messages.devicemanager.MarsInfo()backup_link :
olympe.messages.devicemanager.BackupLinkInfo()
- 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.widthencryption_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.WifiSecuritysaved_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: