MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / close

Function close

modules/network/wifi/wifi.js:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 static set mode() @ "xs_wifi_set_mode";
38 static get mode() @ "xs_wifi_get_mode";
39 static scan(dictionary, callback) @ "xs_wifi_scan";
40 static connect(dictionary) @ "xs_wifi_connect"; // no arguments to disconnect
41 static accessPoint(dictionary) @ "xs_wifi_accessPoint";
42 static close() {throw new Error("use WiFi.disconnect()")} // deprecated
43 static disconnect() {WiFi.connect();}
44
45 static Mode = Object.freeze({

Callers 15

tool.jsFile · 0.50
fxCloseNetworkFunction · 0.50
fxCloseSerialFunction · 0.50
DebugBehavior.jsFile · 0.50
PiuCodeSearchDirectoryFunction · 0.50
zip.jsFile · 0.50
file.jsFile · 0.50
pwm.jsFile · 0.50
servo.jsFile · 0.50
audioout.jsFile · 0.50
pulsecount.jsFile · 0.50
analog.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected