selfdrive.athena package

Submodules

selfdrive.athena.athenad module

exception selfdrive.athena.athenad.AbortTransferException[source]

Bases: Exception

class selfdrive.athena.athenad.UploadItem(path, url, headers, created_at, id, retry_count, current, progress, allow_cellular)

Bases: tuple

allow_cellular

Alias for field number 8

created_at

Alias for field number 3

current

Alias for field number 6

headers

Alias for field number 2

id

Alias for field number 4

path

Alias for field number 0

progress

Alias for field number 7

retry_count

Alias for field number 5

url

Alias for field number 1

class selfdrive.athena.athenad.UploadQueueCache[source]

Bases: object

static cache(upload_queue)[source]
static initialize(upload_queue)[source]
params = <common.params_pyx.Params object>
selfdrive.athena.athenad.backoff(retries)[source]
selfdrive.athena.athenad.cancelUpload(upload_id)[source]
selfdrive.athena.athenad.getMessage(service=None, timeout=1000)[source]
selfdrive.athena.athenad.getNetworkMetered()[source]
selfdrive.athena.athenad.getNetworkType()[source]
selfdrive.athena.athenad.getNetworks()[source]
selfdrive.athena.athenad.getPublicKey()[source]
selfdrive.athena.athenad.getSimInfo()[source]
selfdrive.athena.athenad.getSshAuthorizedKeys()[source]
selfdrive.athena.athenad.getVersion() Dict[str, str][source]
selfdrive.athena.athenad.get_logs_to_send_sorted()[source]
selfdrive.athena.athenad.handle_long_poll(ws)[source]
selfdrive.athena.athenad.jsonrpc_handler(end_event)[source]
selfdrive.athena.athenad.listDataDirectory(prefix='')[source]
selfdrive.athena.athenad.listUploadQueue()[source]
selfdrive.athena.athenad.log_handler(end_event)[source]
selfdrive.athena.athenad.main()[source]
selfdrive.athena.athenad.primeActivated(activated)[source]
selfdrive.athena.athenad.reboot()[source]
selfdrive.athena.athenad.retry_upload(tid: int, end_event: Event, increase_count: bool = True) None[source]
selfdrive.athena.athenad.scan_dir(path, prefix)[source]
selfdrive.athena.athenad.setBandwithLimit(upload_speed_kbps, download_speed_kbps)[source]
selfdrive.athena.athenad.setNavDestination(latitude=0, longitude=0, place_name=None, place_details=None)[source]
selfdrive.athena.athenad.startLocalProxy(global_end_event, remote_ws_uri, local_port)[source]
selfdrive.athena.athenad.stat_handler(end_event)[source]
selfdrive.athena.athenad.strip_bz2_extension(fn)[source]
selfdrive.athena.athenad.takeSnapshot()[source]
selfdrive.athena.athenad.uploadFileToUrl(fn, url, headers)[source]
selfdrive.athena.athenad.uploadFilesToUrls(files_data)[source]
selfdrive.athena.athenad.upload_handler(end_event: Event) None[source]
selfdrive.athena.athenad.ws_proxy_recv(ws, local_sock, ssock, end_event, global_end_event)[source]
selfdrive.athena.athenad.ws_proxy_send(ws, local_sock, signal_sock, end_event)[source]
selfdrive.athena.athenad.ws_recv(ws, end_event)[source]
selfdrive.athena.athenad.ws_send(ws, end_event)[source]

selfdrive.athena.manage_athenad module

selfdrive.athena.manage_athenad.main()[source]

selfdrive.athena.registration module

selfdrive.athena.registration.is_registered_device() bool[source]
selfdrive.athena.registration.register(show_spinner=False) Optional[str][source]

Module contents