Future<void> connectNetwork(String ssid, String password) async { final command = 1; return _write('{"c":$command,"p":{"e":"$ssid","p":"$password"}}', _wifiRequest, _wifiResponse, command: command); }