Fork of the excellent esp8266-react - https://github.com/rjwats/esp8266-react
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
471 B
27 lines
471 B
export enum APProvisionMode {
|
|
AP_MODE_ALWAYS = 0,
|
|
AP_MODE_DISCONNECTED = 1,
|
|
AP_NEVER = 2
|
|
}
|
|
|
|
export enum APNetworkStatus {
|
|
ACTIVE = 0,
|
|
INACTIVE = 1,
|
|
LINGERING = 2
|
|
}
|
|
|
|
export interface APStatus {
|
|
status: APNetworkStatus;
|
|
ip_address: string;
|
|
mac_address: string;
|
|
station_num: number;
|
|
}
|
|
|
|
export interface APSettings {
|
|
provision_mode: APProvisionMode;
|
|
ssid: string;
|
|
password: string;
|
|
local_ip: string;
|
|
gateway_ip: string;
|
|
subnet_mask: string;
|
|
}
|