# Unable to connecto to AP with XBee SA modules

**URL:** <https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260>\
**Category:** XBee - WiFi\
**Tags:** wifi, xctu-v6, xbee\
**Created:** [August 11, 2015, 12:10pm UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260 "2015-08-11T12:10:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![weirdgyn](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@weirdgyn](https://forums.digi.com/u/weirdgyn)\
**Post date:** [August 11, 2015, 12:10pm UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/1 "2015-08-11T12:10:03Z")

</div>

Hallo,

I’m trying to connect a WiFi S6 module (fw 102d) to an WLAN AP (WPA enc) trough XTCU but the connection procedure always fail.  
Is there a way to connect these devices to a commercial AP ?

Best regards,  
Michele Santucci

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 11, 2015, 2:59pm UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/2 "2015-08-11T14:59:25Z")

</div>

Withe now obsoleted S6 WIFI module you are using, you need to use infrastructure mode instead of IBS mode.

---

<div class="post-metadata">

**Author:** ![weirdgyn](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@weirdgyn](https://forums.digi.com/u/weirdgyn)\
**Post date:** [August 12, 2015, 12:07pm UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/3 "2015-08-12T12:07:25Z")

</div>

I have another doubt …is it possibile to start the connection from AT commands? Reading the application note and manual for S6/S6B modules it seems that there’s not an explicit command to connect to selected AP.

---

<div class="post-metadata">

**Author:** ![weirdgyn](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@weirdgyn](https://forums.digi.com/u/weirdgyn)\
**Post date:** [August 12, 2015, 12:07pm UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/4 "2015-08-12T12:07:27Z")

</div>

Moreover the ATAS commands is not working… it reports ERROR just after entering it.

---

<div class="post-metadata">

**Author:** ![weirdgyn](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@weirdgyn](https://forums.digi.com/u/weirdgyn)\
**Post date:** [August 12, 2015, 12:07pm UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/5 "2015-08-12T12:07:29Z")

</div>

Hallo mvut, thnx for your reply but I never set S6 module into IBSS mode is currently and previously working in infrastructure mode and it refuses to connecto to AP… so what’s up?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 13, 2015, 8:40am UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/6 "2015-08-13T08:40:16Z")

</div>

Are you using Encryption on your access point?

---

<div class="post-metadata">

**Author:** ![weirdgyn](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@weirdgyn](https://forums.digi.com/u/weirdgyn)\
**Post date:** [August 14, 2015, 7:57am UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/7 "2015-08-14T07:57:09Z")

</div>

Yes it uses WPA and the Active Scan correctly recognize it.

---

<div class="post-metadata">

**Author:** ![weirdgyn](https://avatars.discourse-cdn.com/v4/letter/w/ecccb3/32.png) [@weirdgyn](https://forums.digi.com/u/weirdgyn)\
**Post date:** [August 18, 2015, 8:09am UTC](https://forums.digi.com/t/unable-to-connecto-to-ap-with-xbee-sa-modules/15260/8 "2015-08-18T08:09:11Z")

</div>

So ? Do I have to disable encryption?
