Is there possible to get an exampleprogram in C for accessing VM201?
I tried a lot of thing to access VM201 without a webbrowser. But I’m not a man to understand the examples yet given neither I do not understand how to use the VM201 TCP protocol.
I think if I have an exampleprogram I can understand how I can implement it in my own program.
Best Regards//janpi
Edited 20130211
Now I found a c-program that send data to VM201. This program tcpclient.c http://www.tenouk.com/Module41a.html
I send the following data: 02 06 4F 01 A8 03
this is the result:
[quote]Client-socket() OK
Connection established…
Sending some string to the server 192.168.1.100…
Client-write() is OK
String successfully sent lol!
Waiting the 192.168.1.100 to echo back…
Client-read() is OK
Echoed data from the server: L�NRelay 1
[/quote]
But the relay doesn’t switch.
Whats wrong? Is the data wrong?