This basic chat tutorial shows you how to get wireless text chat going between two computers using Digi’s XBee 802.15.4 Wireless Modules (formerly called XBee Series 1). Using a serial connection from your computer, the text you type to one XBee will be wirelessly transmitted to the other XBee, which will send the text via serial to your other computer. Of course, the text will also flow in the opposite direction… after all, it’s not a chat unless both parties can type!
Don’t confuse XBee 802.15.4 Wireless Modules with XBee ZB ZigBee Modules (formerly called XBee Series 2), which aren’t compatible with XBee 802.15.4 modules. If you have XBee ZB Modules, check out this other how-to on getting a chat going with those components. While many of the steps are similar between these two products, there are a few fundamental differences between the 802.15.4 and the ZB modules.