# Communication between XBee Wi-Fi and PC through a router

**URL:** <https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537>\
**Category:** XBee - WiFi\
**Tags:** communication, wi-fi, cloud, pc, xbee\
**Created:** [August 29, 2014, 4:19pm UTC](https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537 "2014-08-29T16:19:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![digilos](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@digilos](https://forums.digi.com/u/digilos)\
**Post date:** [August 29, 2014, 4:19pm UTC](https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537/1 "2014-08-29T16:19:33Z")

</div>

Hey!

Can I send/receive data between XBee Wi-Fi and a PC through a router without using the Cloud, I mean directly over the router?

If yes, how?

Thanks

---

<div class="post-metadata">

**Author:** ![kjensen8](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kjensen8](https://forums.digi.com/u/kjensen8)\
**Post date:** [August 29, 2014, 5:25pm UTC](https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537/2 "2014-08-29T17:25:11Z")

</div>

hi there,

yes. You can have both xbee wifi and PC associate with the same access point and communicate without the cloud.

---

<div class="post-metadata">

**Author:** ![digilos](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@digilos](https://forums.digi.com/u/digilos)\
**Post date:** [August 31, 2014, 11:11pm UTC](https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537/3 "2014-08-31T23:11:31Z")

</div>

Hey kjensen8:

Thanks a lot for the quick response.

Could you please guide me a little bit on this?

I just want to have the XBee Wi-Fi to collect some data and then send it to my computer so the computer can make some calculations…

I have an intermediate programming background. Is there any Wi-Fi library that helps me do this?

Best Regards.

---

<div class="post-metadata">

**Author:** ![liudr](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@liudr](https://forums.digi.com/u/liudr)\
**Post date:** [September 7, 2014, 11:15pm UTC](https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537/4 "2014-09-07T23:15:48Z")

</div>

It is fairly simple on the xbee wifi side, set up access to router, set up destination (i.e. PC) and then send text through. On the PC side, though, you need to know how to accept TCP connection and extract message from sockets. I don’t know the PC side. I usually leave that to network programmer or server software.

If you don’t know too much about programming PC TCP connections, just get another xbee-wifi module and have the two talk with each other. Then text comes out of the xbee-wifi’s serial port. You can easily get that and process it. Any programming language can easily handle serial port, include MS excel and java (using native library).

---

<div class="post-metadata">

**Author:** ![catalinanesia](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@catalinanesia](https://forums.digi.com/u/catalinanesia)\
**Post date:** [July 29, 2015, 11:11pm UTC](https://forums.digi.com/t/communication-between-xbee-wi-fi-and-pc-through-a-router/13537/5 "2015-07-29T23:11:25Z")

</div>

Hi everyone,  
I am very interested in this topic (xbee to PC without cloud).  
Is this scenario doable as “liudr” suggested above: 1 xbee attached to PC and 10 other wifi xbee sending text to the 1 on the PC side (Windows)?  
Please point me on the right direction.  
Thanks!  
Catalin
