WL05 Driver Library – API Documentation

Header image

Main page


§ wl05_restart()

int wl05_restart ( uint32  waitTime_ms)

Reset and start the WL05 module.

Parameters
[in]waitTime_msMax. time in [ms] to wait for reply from WL05
Returns
0 on success, otherwise the error code The initialization failure code can be retrieved by calling wl05_get_init_error.
Since
V0.80
Note
The function executes a hardware reset by toggling the RST PIO, loads the firmware binary image and starts the WL05 module. It can be used after a detection of a fatal error indication to restart the device, e.g. a TARGET_HUNG indication code, signaled by the module via callback function.
This function is also internally executed at the TCP/IP Device Driver API function Dev_Open_Interface(), if the device was closed before with API function Dev_Close_Interface(). To restart the WL05 device, the user can also call the TCP/IP Device Driver API function Dev_Close_Interface() and Dev_Open_Interface().





Top of page | Main page

Copyright © 2016 Beck IPC GmbH
Generated by Doxygen 1.8.12