Control WPA client
Overview
Test API to control WPA client tool. More…
// global functions te_errno tapi_wpa_cli(rcf_rpc_server* rpcs, const char* ifname, const char* command[], int timeout_ms);
Detailed Documentation
Test API to control WPA client tool.
Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.
Global Functions
te_errno tapi_wpa_cli(rcf_rpc_server* rpcs, const char* ifname, const char* command[], int timeout_ms)
Invoke wpa_cli command for certain Wi-Fi client.
Parameters:
rpcs |
RPC server handle. |
ifname |
Client’s wireless interface name. |
command |
Array representing wpa_cli command with its arguments, must be terminated with |
timeout_ms |
Command execution maximum time (in milliseconds). |
Returns:
Status code.