Script to Reboot Digi Connect SP

Hi everyone,

I want to reboot the Digi Connect SP via script if the serial port communication fails.
A program monitors the communication and can execute a batch file or HTML-Code.
Does anyone have an idea how such a script might look like?
Thanks for your answers.

First question, what development environment are you using. Answers could be plug-and-play, NET+OS or Linux.

Second, I am a little confused by the question. If communications fail how do you expect to communicate with the device?

Maybe you should be a little more specific and detailed relative what you are looking to do?

here is a python application that does part of what you want:

serial port example: