Other Parts Discussed in Thread: CCSTUDIO
Hello,
I need to control the CCS Debug Server from a remote process, for automatic testing.
So, I am doing some experiments with TestServer javascript example, that seems to be a good base for our purposes.
In particular I have written a simple client that after establishing a TCP/IP connection with the server, sends some simple commands.
When I launch TestServer from a shell, using dss.bat, it works fine.
The server starts and accept the connection, and when I send the command {"name":"connect"}, the server responds {"status":"OK"}.
When, instead, I launch TestServer form CCS Scripting Console, I have the following problem.
The server starts and accept the connection, but when I send the command {"name":"connect"}, the server responds {"status":"FAIL","message":"failed while parsing JSON command: undefined"}.
I am using CCS v.5.5.
Thank you,
Carlo