I'm connecting galileo and a PC via USB, and I'm sending some messages (from PC to galileo) without a problem. The problem appear when my PC turns off. Galileo USB is receiving a wired signal (while PC turns off) that causes to reset my program :/
I have tried to close the port (Serial.end) in order to stop receiving commands, but issue still present, any advice? Thank you