Download Summit Software Developer`s Kit

Transcript
Programmers Guide
Summit SDK
printf("RSSI: %dBm\n", bss->rssi/100);
printf("Security: ");
securityMaskToStdOut(bss->securityMask);
printf("\n");
}
retry =0;
}
} while (retry--);
}
free(list);
Function: LRD_WF_GetBSSIDList
LRD_WF_GetFIPSStatus Sample Code
char current, next;
typedef enum {
FIPS_INACTIVE =0,
FIPS_INACTIVE_ENABLED,
FIPS_ACTIVE_DISABLED,
FIPS_ACTIVE,
FIPS_UNKNOWN
} FIPS_STATUS;
FIPS_STATUS combined = FIPS_UNKNOWN;
if (LRD_WF_GetFipsStatus(&current, &next)==SDCERR_SUCCESS)
combined = (FIPS_STATUS)((current << 1) | next);
switch (combined) {
case FIPS_INACTIVE:
printf("Disabled and Inactive\n");
break;
case FIPS_INACTIVE_ENABLED:
printf("Inactive - Enabled on next start\n");
break;
case FIPS_ACTIVE_DISABLED:
printf("Active - Disabled on next start\n");
break;
case FIPS_ACTIVE:
printf("Enabled and Active\n");
break;
default:
printf("Unable to determine\n");
}
Function: LRD_WF_GetFIPSStatus
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/wireless
97
Laird Technologies
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610