WL05 Driver Library – API Documentation

Header image

Main page


§ wl05_connect()

int wl05_connect ( WL05_Connect_Params connectParams,
int *  connectIndication,
uint8  reStartDHCP,
uint32  waitTime_ms 
)

Connect to a wireless station.

The WL05 performs a sequence of scan - join - authenticate - associate to establish a connection to a BSS or IBSS network (infrastructure or ad-hoc).

Parameters
[in]connectParamsConnect parameters
[out]connectIndicationContains the latest indication code
[in]reStartDHCPIf 1 (recommended) and DHCP is configured, the driver (re)triggers DHCP after successful association.
[in]waitTime_msMax. time in [ms] to wait for reply from WL05
Returns
0 on success, otherwise the error code
Since
V0.80
See also
wl05_disassociate





Top of page | Main page

Copyright © 2016 Beck IPC GmbH
Generated by Doxygen 1.8.12