Setting WPA Mode and Key
Tibbo devices only support the "personal" WPA modes WPA-PSK and WPA2-PSK.
The GA1000 is unable to handle WPA and WPA2 security completely on its own. The module requires help in the calculation of the so-called pre-shared key. The algorithm for this calculation is very complex and we are not going to explain it here. All this complexity is handled nicely by our WLN library.
The WA2000 handles everything related to WPA and WPA2 security internally. To set the WPA mode, call wln.setwpa, like this:
'ap_password is the password of the access point