# XBEE WiFi S6B AT Connect to SSID

**URL:** <https://forums.digi.com/t/xbee-wifi-s6b-at-connect-to-ssid/14196>\
**Category:** XBee - WiFi\
**Tags:** wifi, softap, xbee-to-wifi, xbee-wifi, xbee\
**Created:** [January 19, 2015, 1:14am UTC](https://forums.digi.com/t/xbee-wifi-s6b-at-connect-to-ssid/14196 "2015-01-19T01:14:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilBee](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PhilBee](https://forums.digi.com/u/PhilBee)\
**Post date:** [January 19, 2015, 1:14am UTC](https://forums.digi.com/t/xbee-wifi-s6b-at-connect-to-ssid/14196/1 "2015-01-19T01:14:07Z")

</div>

Based on this tutorial - I can programmatically ( C++ ) setup one XBee S6B WiFi module in soft Access Point mode:  
[http://tutorial.cytron.com.my/2014/02/14/xbee-wifi-in-soft-ap-mode/comment-page-1/](http://tutorial.cytron.com.my/2014/02/14/xbee-wifi-in-soft-ap-mode/comment-page-1/)

This question sheds light how to do a scan:  
[http://www.digi.com/support/forum/37355/xbee-wifi-s6-scan](http://www.digi.com/support/forum/37355/xbee-wifi-s6-scan)

Basically, issue an ATAS command to find nearby SSIDs. So I can find my XBee in Access Point mode.

I can see in this command table how to check the status of a network join attempt:  
[http://examples.digi.com/wp-content/uploads/2012/06/XBee\_WiFi\_AT\_Commands.pdf](http://examples.digi.com/wp-content/uploads/2012/06/XBee_WiFi_AT_Commands.pdf)

Basically you issue an ATAI command to see the status.

But how do I “initiate” a connection. I can see that ATID sets the SSID for the client ( non-access point ) module. But how do I tell it to “Connect” now. The Access Point will be passwordless.

Thank you.

---

<div class="post-metadata">

**Author:** ![PhilBee](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PhilBee](https://forums.digi.com/u/PhilBee)\
**Post date:** [January 22, 2015, 8:52am UTC](https://forums.digi.com/t/xbee-wifi-s6b-at-connect-to-ssid/14196/2 "2015-01-22T08:52:35Z")

</div>

Once you have one XBee wifi module in Soft-Ap mode, hook up the other module and do an ‘active scan’ in X-CTU while having the console connected. You will then see all necessary commands being issued by the tool to connect to the AP.

---

<div class="post-metadata">

**Author:** ![mike.mccusker](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mike.mccusker](https://forums.digi.com/u/mike.mccusker)\
**Post date:** [July 9, 2015, 10:16am UTC](https://forums.digi.com/t/xbee-wifi-s6b-at-connect-to-ssid/14196/3 "2015-07-09T10:16:17Z")

</div>

I think as soon as you set the ID the client will try to associate with it.
