react-native-esp-smartconfig
Version:
ESP-TOUCH protocol to seamlessly configure Wi-Fi devices connecting to a router.
23 lines • 590 B
TypeScript
interface IStartProps {
bssid: string;
ssid: string;
password: string;
}
export interface SmartConfigResponse {
bssid: string;
ipv4: string;
}
export interface WifiInfoState {
bssid: string | null;
ssid: string | null;
ipv4: string;
isConnected: boolean;
isWifi: boolean;
frequency: number | null;
type: string;
}
export declare function start(args: IStartProps): Promise<SmartConfigResponse[]>;
export declare function stop(): any;
export declare function getWifiInfo(): Promise<WifiInfoState>;
export {};
//# sourceMappingURL=index.d.ts.map