8devices Community https://www.8devices.com/community/ |
|
GPIO via TCP https://www.8devices.com/community/viewtopic.php?f=13&t=604 |
Page 1 of 1 |
Author: | snipor [ 30 Sep 2013, 21:04 ] |
Post subject: | GPIO via TCP |
Hello I'm looking for an easy way to control the GPIOs via a TCP connection. I want to open a TCP connection for example to Port 2000 (Carambola should be the Server), and then I want to send a simple command from a Client. Like 17.1 for set GPIO17 to high, or 17.0 to set GPIO17 to low. How could I do that? Does anyone have any sample code? Thanks a lot snipor |
Author: | gedass [ 01 Oct 2013, 04:48 ] |
Post subject: | Re: GPIO via TCP |
Hi, you can use this exapmple: http://8devices.com/wiki_carambola/doku.php/http_led |
Author: | snipor [ 01 Oct 2013, 09:25 ] |
Post subject: | Re: GPIO via TCP |
Unfortunately I cant use http/php. I need a connection via Tcp Port. |
Author: | MikaelSundin [ 06 Oct 2013, 11:39 ] |
Post subject: | Re: GPIO via TCP |
Author: | MikaelSundin [ 06 Oct 2013, 11:45 ] |
Post subject: | Re: GPIO via TCP |
Here is a code with a tcp server that handling multiple clients. https://wiki.sihnon.net/index.php/Multi ... er_Example |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |