Hola Rscheel:
Si, hay un metodo que lo contempla todo, está incluido a partir de la versión 3.0 (la actual es la 3.03):
saveWifiAP(String ssid, int security, String password, boolean connect) As Boolean
Saves the configuration of a WIFI AP onto the device
ssid: Access Point SSID
security: Access Point security type (0:NONE, 1:WEP, 2:WAP)
password: Access Point password/phrase ("" for an open network)
connect: true -> Connect to the WIFI AP after saving
Returns True on success
Saludos