MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / diagnose_bluetooth

Function diagnose_bluetooth

webapp_modern.py:12733–12744  ·  view source on GitHub ↗

Diagnose Bluetooth scanning issues

()

Source from the content-addressed store, hash-verified

12731# ============================================================================
12732
12733# The self-update git logic lives in git_updater.py. Everything there is
12734# non-interactive and time-bounded, and every failure carries a machine-readable
12735# code plus one sentence the user can act on - see that module's docstring for
12736# the failure modes it exists to close.
12737RAGNAR_REPO_PATH = git_updater.repo_root()
12738
12739# Lets the browser tell "the service is back up" from "the service never went
12740# down": after an update it waits for this value to change, not just for the API
12741# to answer.
12742_PROCESS_START_TIME = time.time()
12743
12744
12745_POST_UPDATE_STATUS_PATH = os.path.join(RAGNAR_REPO_PATH, 'data', 'logs', 'post_update.json')
12746
12747# A post-update run writes its status on every step change. The slowest step

Callers

nothing calls this directly

Calls 2

diagnose_scanningMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected