Wrapping EthernetNetIF class in a hardware class

14 Apr 2011

I'm trying to simplify the code for our project by creating a hardware class. I would like to be able to call something like hardware.initNetwork() to initialize the ethernet card and not actually expose the ethernet object. Is there an example of how to do this since there does not seem to be a way to set the IP settings after the ethernetNETIf object is defined.

We use static IPs addresses.