Home  >  Support  >  Support Forum  >  C# sample code for using XBee Wi-Fi modules
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.

C# sample code for using XBee Wi-Fi modules

0 votes
Have used XBee modules in past using USB adapter boards with serial com drivers
and am able to access regular XBee's from C# code using com ports.

Just purchase a couple of XBee Pro S6B modules, and XCTU recognizes them using USB adapter.
XCTU scan shows my local Wi-Fi network (using a Netgear router) and I could enter password for local network,
but am not sure how to access the XBee Wi-Fi modules from C# code.

Am using VisualStudio2012 with .NET under Win7 and presume some type of TCP connection would be appropriate.
Have used Microsoft Robotics Studio to send messages between PC's across the local Wi-Fi network,
but DSS, CCR and MSRS handled the details.


Is there any sample C# code using .NET that shows how to communicate with the XBee Wi-Fi modules
directly from the PC without using the USB adaptor?
asked Feb 20 in IEEE 802.15.4 by dbritta1 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
No Digi does not offer Sample code for this. Just treat it as a transparent serial connection that happens to go to an IP address and port number using either UDP or TCP depending on which one you selected.
answered May 7 by mvut Veteran of the Digi Community (1,109 points)
Your M2M Expert™for Businessfor Developers
Newsletter SignupYouTubeGoogle+FacebookCopyright © 1996-2013 Digi International Inc. All rights reserved. Legal
...