5 thoughts on “Setting GPIO in a TCP client-server context”
Hello
I am trying to set a GPIO when there is incoming TCP data.
The setup includes a GL865-V3 module, an open socket in a TCP client-client server configuration.
The question is: is it possible to make the module set the GPIO without using python scripts ?
Thank you in advance for your kind assistance.
Antony
With AT commands of course, ie AT#GPIO.
I’m sorry, I wasn’t very clear: I mean how do I link an incoming TCP packet to a GPIO so as to trigger a WAKE_UP on user board.
I realize this is not easy: event monitoring does not contemplate an incoming data event. What I need is to associate incoming TCP packets with a GPIO pin so that my hardware wakes up from SLEEPING and elaborates the TCP packets (my board halts reading data through the RTS signal while it sleeps).
Thanks again
Then probably TCP AT remote command run is for you.
Thank you for your fast reply. Unfortunately I have no control on remote so I cannot use remote commands. I thought this would be difficult as there is no event generated on receiving data in a TCP connection. I will have to find another solution; Thanks again for your kind support.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hello
I am trying to set a GPIO when there is incoming TCP data.
The setup includes a GL865-V3 module, an open socket in a TCP client-client server configuration.
The question is: is it possible to make the module set the GPIO without using python scripts ?
Thank you in advance for your kind assistance.
Antony
With AT commands of course, ie AT#GPIO.
I’m sorry, I wasn’t very clear: I mean how do I link an incoming TCP packet to a GPIO so as to trigger a WAKE_UP on user board.
I realize this is not easy: event monitoring does not contemplate an incoming data event. What I need is to associate incoming TCP packets with a GPIO pin so that my hardware wakes up from SLEEPING and elaborates the TCP packets (my board halts reading data through the RTS signal while it sleeps).
Thanks again
Then probably TCP AT remote command run is for you.
Thank you for your fast reply. Unfortunately I have no control on remote so I cannot use remote commands. I thought this would be difficult as there is no event generated on receiving data in a TCP connection. I will have to find another solution; Thanks again for your kind support.