I've got several Rabbits 5600w wich can do wifi scan, choose and conect to networks according to the best power signal. I'm using them with DHCP, SSID and password.
Everithing works fine (conection, reconection, etc) until some EM disturbance happend. I cannot figure out what is the source of the problem but after that the loop of the main programm is still running, however the module is not able to find (to scan) any SSID (module have to search for SSID in case of any disconnection). Only after a reset it works again normally.
I've found some similar questions but not a single answer or clue..
Here a are some of the macros defined:
#define TCPCONFIG 5
#define _PRIMARY_NETMASK "255.255.255.0"
#define WIFI_USE_WPA // Bring in WPA support
#define IFC_WIFI_ROAM_ENABLE 1
#define IFC_WIFI_ROAM_BEACON_MISS 100
#define IFC_WIFI_MODE IFPARAM_WIFI_INFRASTRUCTURE //join an ESS only
#define IFC_WIFI_REGION IFPARAM_WIFI_REGION_AMERICAS //Ch 1-11
#define IFC_WIFI_ENCRYPTION IFPARAM_WIFI_ENCR_CCMP//Connect to CCMP (WPA2) networks