Setting IP Address on HD1010 for a .brs
I have several questions regarding setting IP addresses on HD1010 running 3.1.46 (August 2009). I want to set the IP address of a unit from a Brightscript, and have the IP address apply thereafter.
The sample code on HDCompact_UsersGuide.pdf PDFpage109 Printpage103 ends with an nc.Apply, then a RebootSystem().
1) Does the IP address change upon the .Apply, or does it REQUIRE the Reboot for the IP address to take effect?
If the IP address does not take effect until after a reboot, then it seems to me that it would be impossible to set an IP address for a box without using a separate IP address-setting .brs file on a separate SD card. I'd like to set my IP address at the top of my .brs, wait if necessary, then go on with other code I'd write in the same .brs file.
2) In the sample code of HDCompact_UsersGuide.pdf PDFpage109 Printpage103 , is the IP address change lost if the power is cycled (e.g. it has not been saved to the registry)?
3) Doesn't the example code effectively operate as a reboot infinite loop?
The HDCompact_UsersGuide.pdf PDFpage108 Printpage102 also references an alternate method in MANUAL_IP_CONFIGURATION.ZIP which I downloaded August 27, 2009.
The downloaded code creates both a registry object reference and a network configuration object reference, but I could not find a binding between the network configuration and registry objects.
4) When the registry is flushed, does it automatically save the contents of the network object? Or does the flush save the prevailing settings of the box?
5) If there is more than one network configuration object, what happens upon registry flush?
6) What is typically found in a Compact model's registry that is saved upon flush?
I know there is a method to list out sections, but if you could provide a quick list all of us wouldn't have to individually write programs and list them out.
7) The instructions on HDCompact_UsersGuide.pdf PDFpage108 Printpage102 reference a video select button. Where is this button on the HD1010?
8) The downloaded autorun.brs does not appear to reference either a video select button or the restart prompt on described at the top of PDFpage109 Printpage 103. I'm confused--is this implemented in firmware?
I look forward to hearing your answers...thanks!!