Lines Matching refs:reply

68     char reply[256];
70 if (doCommand(cmd, reply, sizeof(reply)) != 0) {
73 return (jint)atoi(reply);
79 char reply[256];
81 if (doCommand(cmd, reply, sizeof(reply)) != 0) {
84 return (jboolean)(strcmp(reply, expect) == 0);
88 // Send a command to the supplicant, and return the reply as a String
91 char reply[4096];
93 if (doCommand(cmd, reply, sizeof(reply)) != 0) {
96 String16 str((char *)reply);
318 char reply[256];
321 if (doCommand(cmd, reply, sizeof(reply)) != 0) {
325 // reply comes back in the form "<SSID> rssi XX" where XX is the
328 if (strcmp(reply, "OK") != 0) {
330 char* end = reply + strlen(reply);
331 while (end > reply && end[-1] == ' ') {
336 char* lastSpace = strrchr(reply, ' ');
357 char reply[256];
360 if (doCommand("DRIVER LINKSPEED", reply, sizeof(reply)) != 0) {
363 // reply comes back in the form "LinkSpeed XX" where XX is the
365 sscanf(reply, "%*s %u", &linkspeed);
371 char reply[256];
374 if (doCommand("DRIVER MACADDR", reply, sizeof(reply)) != 0) {
377 // reply comes back in the form "Macaddr = XX.XX.XX.XX.XX.XX" where XX
379 if (sscanf(reply, "%*s = %255s", buf) == 1)
397 char reply[256];
400 if (doCommand("DRIVER GETPOWER", reply, sizeof(reply)) != 0) {
403 // reply comes back in the form "powermode = XX" where XX is the
405 if (sscanf(reply, "%*s = %u", &power) != 1) {
423 char reply[256];
426 if (doCommand("DRIVER SCAN-CHANNELS", reply, sizeof(reply)) != 0) {
429 // reply comes back in the form "Scan-Channels = X" where X is the
431 if (sscanf(reply, "%*s = %u", &numChannels) == 1)