I am running into a weird problem.
Scenario 1: I’ve connected a WiFly card to the Robot Kit. When I click Start Debugging in VS2010, everything works fine. The card is on the network and I can communicate with the robot wirelessly. I then disconnect the USB cable and device continues to work fine on its own power (e.g. the batteries in the robot kit).
Scenario 2: However, if I simply switch off the device and switch it back on, it seems like the Robot is not communicating with the WiFly card. I know that the WiFly card itself is on the network because I can see data coming into it (I’ve connected LEDs to various sensors on the car).
Scenario 3: If I then reconnect the USB cable to the Robot Kit and click Start Debugging again, the first thing that happens is that the application receives a dump of data from the WiFly card that it got while in Scenario 2.
What is different between debug mode and non-debug mode? Does something happen there that I should watch out for?