Hello,
English is not my native language, but I will try to explain my problem the best I can. Thanks for your understanding.
I was asked to modify an existing Netduino project. I don't have prior experience with this platform.
The Netduino in question commands some lights and sometimes it becomes unresponsive.
So I implemented a reboot with :
PowerState.RebootDevice(false);
The reboot seems extremely fast, the board only misses one ping and the tiny leds near the Ethernet interface don't even stop shining.
The web service doesn't respond after the reboot, a bit like if it wasn't relaunched.
The application is quite simple, the main is this :
public class Program { public static void Main() { HttpServer httpServer = new HttpServer(80,new HttpHandler()); httpServer.Start(); } }
Then there is a second class HttpHandler : IHttpHandler that manages the web service.
All the logic of lighting is done on a server that sends the commands to this web service.
So my question is : what code is executed after the reboot ? It doesn't seem to go to the main() method and debugging in Visual Studio hung and didn't let me follow what happens.
Thank you for your help.