Skip to content

Commit 0bcf944

Browse files
committed
add definitions
1 parent e085ae4 commit 0bcf944

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export enum ESPTransportType {
1010

1111
export enum ESPDeviceState {
1212
Configured = "CONFIGURED",
13+
NotConfigured = "NOT_CONFIGURED",
1314
SessionEstablished = "SESSION_ESTABLISHED",
1415
Disconnected = "DISCONNECTED"
1516
}
@@ -52,7 +53,10 @@ interface Device {
5253
onStatusChanged: (device: Device) => void;
5354
startSession();
5455
connect();
56+
disconnect();
5557
setCredentials(ssid: string, passphrase: string);
58+
networkTest();
59+
scanWifi();
5660
}
5761

5862
export enum ESPEventState {

0 commit comments

Comments
 (0)