Detect toyota connected car wifi as a hotspot and not a normal home wifi network.

old-commit-hash: c0a3e48d94
commatwo_master
Nick Brown 6 years ago
parent 383f79d4d7
commit f1e1b0a0ec
  1. 4
      selfdrive/loggerd/uploader.py

@ -86,7 +86,9 @@ def is_on_hotspot():
is_android = result.startswith('192.168.43.') is_android = result.startswith('192.168.43.')
is_ios = result.startswith('172.20.10.') is_ios = result.startswith('172.20.10.')
return (is_android or is_ios) is_entune = result.startswith('10.0.2.')
return (is_android or is_ios or is_entune)
except: except:
return False return False

Loading…
Cancel
Save