Home/Support/Support Forum/Xbee wifi S6B tcp socket auto connect to TCP socket server

Xbee wifi S6B tcp socket auto connect to TCP socket server

0 votes
Hi,

To keep my question short, I have 2 questions:

1) I have a tcp socket server which listens for connections. I have setup my xbee (using XCTU) to join the network but it doesn't connect to my server unless I manually send some data from terminal to the server. Is there any setting to let it connect to my server at start up or something?

2) Is there a way to program (i.e. python, c, etc and how to drop the script to it, run it..) the xbee so that I can control the digital output and input pins from my server?
asked Sep 21, 2014 in XBee Programmable Development by hugh_h New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
No, the radio will not make a connection to the server unless it has data on the UART in which to send. You can however, have the server make a connection to the radio if you so desire. or you can simply provide the radio data in which it will send.

To control the DIO lines, use the radios API interface and related commands. Specifically the remote AT commands function.
answered Oct 9, 2014 by mvut Veteran of the Digi Community (12,786 points)
...