Skip to content

lightgun-poc / lib/wifi / wifiMain

Function: wifiMain() ​

wifiMain(exec?, log?, platform?): number

Defined in: lib/wifi.ts:210

The point-bang wifi command: probe, print, and turn the result into an exit code (0 connected / no implementation, 1 disconnected or probe failed).

Parameters ​

exec? ​

(cmd) => string

log? ​

(line) => void

platform? ​

string = process.platform

Returns ​

number

Released under the MIT License.