Use the asl library to switch wifi networks

Hi,

Is it possible to use the asl library to swtich between wifi networks so I can more easily allow a user to do this rather than go through the GUI.

 

Looking in the programming guide it references the list of APIs available but there is no detail for the wlan. See below which I copied from the guide

"...

fileTransfer

•scanner

•wlan

•battery - Battery module is not overridden by the asl library and works entirely in RhoElements mode. asl library provides additional events for the status of the battery which are:

• oncradleinsert

• oncradleremove

• onlowbattery

• oncriticalbattery

..."

 

Thanks

David