2023-01-24 21:10:06 +08:00

40 lines
764 B
Python

STA_IF: int
AP_IF: int
STAT_IDLE: int
STAT_CONNECTING: int
STAT_WRONG_PASSWORD: int
STAT_NO_AP_FOUND: int
STAT_CONNECT_FAIL: int
STAT_GOT_IP: int
class WLAN:
def __init__(self, interface_id: int): ...
def active(self, is_active: int): ...
def checkActive(self) -> int: ...
def connect(self, ssid: str, key: str): ...
def connectWIthBssid(self, ssid: str, key: str, bssid: str): ...
def disconnect(self): ...
def status(self) -> int: ...
def statusWithParam(self, param: str) -> int: ...
def isconnected(self) -> int: ...
def config(self, **kwargs): ...
def checkConfig(self, param: str) -> any: ...
def ifconfig(self, config: tuple): ...
def checkIfconfig(self) -> tuple: ...
def __init__(): ...