How to connect Xbee Wifi to an Access Point, using only AT commands over the Serial Port from a micro controller?
Do you have the XBee Wi-Fi S6 or XBee Wi-Fi S6B radio? also what type of encryption does your access point use?
S6B; Digi Support already walked me though this: Set EE then SSID. The Encryption type is WPA2