Home
last modified time | relevance | path

Searched refs:networkId (Results 1 - 4 of 4) sorted by relevance

/applications/sample/camera/communication/wpa_cli/src/
H A Dwpa_cli_sample.c142 char networkId[20] = {0}; in TestNetworkConfig() local
143 size_t networkIdLen = sizeof(networkId); in TestNetworkConfig()
144 int ret = SendCtrlCommand("DISCONNECT", networkId, &networkIdLen); in TestNetworkConfig()
145 ret += SendCtrlCommand("ADD_NETWORK", networkId, &networkIdLen); in TestNetworkConfig()
150 SAMPLE_INFO("add network success, network id [%.*s]", networkIdLen, networkId); in TestNetworkConfig()
155 temp = sprintf_s(cmd, sizeof(cmd), "SET_NETWORK %.*s ssid \"example\"", networkIdLen, networkId); in TestNetworkConfig()
161 temp = sprintf_s(cmd, sizeof(cmd), "SET_NETWORK %.*s psk \"012345678\"", networkIdLen, networkId); in TestNetworkConfig()
167 temp = sprintf_s(cmd, sizeof(cmd), "ENABLE_NETWORK %.*s", networkIdLen, networkId); in TestNetworkConfig()
179 temp = sprintf_s(cmd, sizeof(cmd), "REMOVE_NETWORK %.*s", networkIdLen, networkId); in TestNetworkConfig()
184 SAMPLE_ERROR("network config failed remove network [%.*s].", networkIdLen, networkId); in TestNetworkConfig()
[all...]
/applications/sample/camera/setting/setting/src/main/cpp/
H A Dwpa_work.c369 char networkId[20] = {0}; in TestNetworkConfig() local
370 size_t networkIdLen = sizeof(networkId); in TestNetworkConfig()
371 int ret = SendCtrlCommand("DISCONNECT", networkId, &networkIdLen); in TestNetworkConfig()
372 ret += SendCtrlCommand("ADD_NETWORK", networkId, &networkIdLen); in TestNetworkConfig()
377 SAMPLE_INFO("add network success, network id [%.*s]", networkIdLen, networkId); in TestNetworkConfig()
381 int err = sprintf_s(cmd, sizeof(cmd), "SET_NETWORK %.*s ssid \"%s\"", networkIdLen, networkId, gSsid); in TestNetworkConfig()
388 err = sprintf_s(cmd, sizeof(cmd), "SET_NETWORK %.*s psk \"%s\"", networkIdLen, networkId, gPassWord); in TestNetworkConfig()
395 err = sprintf_s(cmd, sizeof(cmd), "ENABLE_NETWORK %.*s", networkIdLen, networkId); in TestNetworkConfig()
408 err = sprintf_s(cmd, sizeof(cmd), "REMOVE_NETWORK %.*s", networkIdLen, networkId); in TestNetworkConfig()
414 SAMPLE_ERROR("network config failed remove network [%.*s].", networkIdLen, networkId); in TestNetworkConfig()
[all...]
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/pages/index/
H A Dindex.js322 this.startAbilityContinuation(this.remoteDeviceModel.deviceList[i].networkId, this.remoteDeviceModel.deviceList[i].deviceName)
330 this.startAbilityContinuation(this.remoteDeviceModel.deviceList[i].networkId, this.remoteDeviceModel.deviceList[i].deviceName)
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/DistributeCalc/entry/src/main/js/MainAbility/common/
H A DkvstoreModel.js76 deviceIds[i] = devices[i].networkId;

Completed in 2 milliseconds