This project has moved and is read-only. For the latest updates, please go here.

Communicate with XBee on Background Thead

Jan 18, 2011 at 9:42 PM

The XBeeConsole sample included with this library shows using a separate thread to handle the framereceived event. What I am looking for is an example that shows a good way to do two way communicate on a background thread with an XBee attached the PC. I searched the Internet for examples using things such as SerialIO which I thought might be similar and did not really find any good examples. I would assume it would be "best practice" to handle this on a background thread so the UI cannot block the receipt of data from the Xbee. However when receiving data on teh background thread how do you send data out that COM port that the background thread has open already?

Any examples, pointers to existing articles or suggestions would be appreciated.

Thank you.