Step 1: The Simplest Example
|Top Previous Next|
This and other projects in the Code Examples section are published on our website under the name "test_wln_lib".
Let's start with a simple example of connecting to an access point named "TIBB1", which is configured for WEP64 security. The password is "12345678AB". All your code really has to do is start the "Wi-Fi engine" by calling wln_start().
Debug output we've got after running the code:
You can test the "association persistence" by turning your access point off and on. You will see how the library will restore the association:
And here is the code itself...