Today I started a trial move from 4.2 to the latest 4.3SDK (on EMX), and I’ve a few questions, perhaps asked/answered before but I haven’t been able to find them.
- How do we configure to start headless? My 4.2 code was:
if(GHI.Premium.Hardware.Configuration.LCD.Set(Configuration.LCD.HeadlessConfig)) PowerState.RebootDevice(false, 1000);
- In 4.2 I turned the Ethernet Oscillator off to save power, is this still possible?
- In controlling the USB Client, I can’t do:
and it appears this has mostly been replaced by setting the controller Active Device:
Controller.ActiveDevice = ms;
How can I Stop() the controller without starting a new active device? Pass in a null?
- In 4.2 doing a Write() to a USB Stream returned the number of bytes actually written, we have quite a bit of code to handle the case where this doesn’t equal the buffer size sent to tha call.
In 4.3 the Write() function is a void. How can we tell if the call succeeded fully or not?