WL05 Driver Library – API Documentation

Header image

Main page


Functions
WL05 C API functions

Functions

int wl05_already_installed (void)
 Checks if the WL05 driver is already installed. More...
 
unsigned long wl05_CalcSPIFreq (unsigned int divider)
 Helper function for calculation of the SPI clock frequency, based on a given divider value. More...
 
int wl05_connect (WL05_Connect_Params *connectParams, int *connectIndication, uint8 reStartDHCP, uint32 waitTime_ms)
 Connect to a wireless station. More...
 
int wl05_connected (void)
 Simplified check of actual connection status. More...
 
int wl05_disassociate (uint32 waitTime_ms)
 Disassociate from an Access Point. More...
 
void wl05_enable_gateway_update (uint8 enable)
 Enable/disable the automatic update of the Gateway address, if DHCP configuration is enabled. More...
 
void wl05_enable_rssi_trigger (uint8 enable)
 Enable/disable RSSI threshold trigger, optionally installed by wl05_connect. More...
 
uint32 wl05_generate_wps_pin (char *pinStr)
 Generate a random PIN for WPS with 8 digits (including the checksum digit) More...
 
const uint8 * wl05_get_current_bssid (void)
 Get actual BSSID. More...
 
uint16 wl05_get_current_channel (void)
 Get current channel. More...
 
long wl05_get_current_rssi (void)
 Get latest received RSSI (Received Signal Strength Indication) value, if the module is connected with a (I)BSS. More...
 
const uint8 * wl05_get_current_ssid (void)
 Get actual SSID. More...
 
int wl05_get_drv_indication (void)
 Return latest WL05 status indication. More...
 
const char * wl05_get_fw_version (void)
 Get version number of the WL05 firmware. More...
 
int wl05_get_init_error (void)
 Get initialization error. More...
 
const unsigned char * wl05_get_macaddress (void)
 Get MAC address of the WL05 module. More...
 
uint16 wl05_get_version (void)
 Get version number of the WL05 driver. More...
 
unsigned int wl05_GetSPIClockDivider (unsigned long freq)
 Helper function which calculates the best matching SPI clock divider for a given frequency. More...
 
void wl05_print_header (void)
 Print a message to STDOUT with driver library version and firmware version. More...
 
int wl05_reconfig_ipv4 (DevIpv4IfaceCfg *devcfgptr, int *error, uint32 waitTime_ms)
 Reconfigure the IP settings of the WL05 device. More...
 
void wl05_register_usercallback (void *callback, int type)
 Register several user callback functions on WL05 events. More...
 
int wl05_restart (uint32 waitTime_ms)
 Reset and start the WL05 module. More...
 
int wl05_scan (WL05_Scan_Params *scanParams, uint32 waitTime_ms)
 Scan the air for wireless networks. More...
 
int wl05_scan_channel_mask (int band, uint32 mask)
 Set the exact channels that are to be scanned for wireless networks. This function affects all the subsequent calls to wl05_scan. More...
 
int wl05_set_regdomain (int domain)
 Set the regulatory domain. More...
 

Detailed Description






Top of page | Main page

Copyright © 2016 Beck IPC GmbH
Generated by Doxygen 1.8.12