- Reverse engineered network I/O stack for AGATE device - Bluetooth LE and Wi-Fi onboard communication support - Discovered operations: queryAgateInfo, queryDeviceInfoHttp, queryModesByHttp, queryConnectWifi, connectViaBluetooth, startBluetoothHeartbeat - Cloud API endpoints identified: e-api.franklinwh.com, energy.franklinwh.com, hes-gateway - Python library structure with client, bluetooth, wifi, api modules - Documentation for reverse engineering findings
24 lines
672 B
Python
24 lines
672 B
Python
"""
|
|
Wi-Fi Manager for AGATE device network operations.
|
|
"""
|
|
|
|
class WifiManager:
|
|
"""Manages Wi-Fi connection to AGATE device onboard hotspot."""
|
|
|
|
def __init__(self):
|
|
self.connected = False
|
|
|
|
def query_connect_wifi(self, ssid, password=None):
|
|
"""Query/connect to AGATE Wi-Fi."""
|
|
# Reverse engineered operation: queryConnectWifi
|
|
pass
|
|
|
|
def wifi_onboarding_add_wifi(self, ssid, password):
|
|
"""Add Wi-Fi network via onboarding."""
|
|
# Reverse engineered operation: wifiOnboardingAddWifi
|
|
pass
|
|
|
|
def get_wifi_signal_strength(self):
|
|
"""Get current Wi-Fi signal strength."""
|
|
pass
|