Searched refs:replyLen (Results 1 – 2 of 2) sorted by relevance
/device/board/bearpi/bearpi_hm_micro/app/communication/wpa_cli/src/ |
D | wpa_cli_sample.c | 127 static int SendCtrlCommand(const char *cmd, char *reply, size_t *replyLen) in SendCtrlCommand() argument 129 size_t len = *replyLen - 1; in SendCtrlCommand() 133 *replyLen = len; in SendCtrlCommand() 152 size_t replyLen = sizeof(reply); in TestNetworkConfig() local 155 ret += SendCtrlCommand(cmd, reply, &replyLen); in TestNetworkConfig() 156 replyLen = sizeof(reply); in TestNetworkConfig() 158 ret += SendCtrlCommand(cmd, reply, &replyLen); in TestNetworkConfig() 159 replyLen = sizeof(reply); in TestNetworkConfig() 161 ret += SendCtrlCommand(cmd, reply, &replyLen); in TestNetworkConfig() 162 replyLen = sizeof(reply); in TestNetworkConfig() [all …]
|
/device/board/bearpi/bearpi_hm_micro/app/setting/setting/src/main/cpp/ |
D | wpa_work.c | 70 static int SendCtrlCommand(const char *cmd, char *reply, size_t *replyLen) in SendCtrlCommand() argument 86 size_t len = *replyLen - 1; in SendCtrlCommand() 95 *replyLen = len; in SendCtrlCommand() 393 size_t replyLen = sizeof(reply); in TestNetworkConfig() local 400 ret += SendCtrlCommand(cmd, reply, &replyLen); in TestNetworkConfig() 401 replyLen = sizeof(reply); in TestNetworkConfig() 407 ret += SendCtrlCommand(cmd, reply, &replyLen); in TestNetworkConfig() 408 replyLen = sizeof(reply); in TestNetworkConfig() 414 ret += SendCtrlCommand(cmd, reply, &replyLen); in TestNetworkConfig() 415 replyLen = sizeof(reply); in TestNetworkConfig() [all …]
|