Example #1
0
        public WifiRS21()
        {
            _annunciator = (IAnnunciator)DiContainer.Instance.Resolve(typeof(IAnnunciator));

            NetworkChange.NetworkAddressChanged += NetworkChange_NetworkAddressChanged;
            NetworkChange.NetworkAvailabilityChanged += NetworkChange_NetworkAvailabilityChanged;

            _wifi = new WiFiRS9110(
                GHI.Pins.FEZSpider.Socket6.SpiModule,
                GHI.Pins.FEZSpider.Socket6.Pin6,
                GHI.Pins.FEZSpider.Socket6.Pin3,
                GHI.Pins.FEZSpider.Socket6.Pin4,
                24000);
            _wifi.Open();
            _wifi.EnableDhcp();
            _wifi.EnableDynamicDns();
        }