Hi all,
I'm getting a NullReference exception in Netduino.IP.LinkLayers.CC3100 when I reference the MFWsStack assembly. It always happens twice upon power up, and prevents the Wifi from connecting. When I remove the reference and dependent code, it powers up and connects to the WiFi just fine (even have a little web server running on it). Also tried commenting out all of my code and just inserting Thread.Sleep(Timeout.Infinite) in he Main() method, and with MFWsStack referenced it still does it.
There are also some first-chance exceptions of type CC3100SimpleLinkException being thrown:
Exception thrown: 'Netduino.IP.LinkLayers.CC3100SimpleLinkException' in Netduino.IP.LinkLayers.CC3100 Exception thrown: 'Netduino.IP.LinkLayers.CC3100SimpleLinkException' in Netduino.IP.LinkLayers.CC3100 The thread '<No Name>' (0x2) has exited with code 0 (0x0). The thread '<No Name>' (0x4) has exited with code 0 (0x0). Exception thrown: 'Netduino.IP.LinkLayers.CC3100SimpleLinkException' in Netduino.IP.LinkLayers.CC3100 Exception thrown: 'System.NullReferenceException' in Netduino.IP.LinkLayers.CC3100 An unhandled exception of type 'System.NullReferenceException' occurred in Netduino.IP.LinkLayers.CC3100
Any help appreciated.
Here's the output of MFDeploy->Debug->Device Info (AlarmMonitor, and BlinkStateLib are my project assemblies)
DeviceInfo: HAL build info: 4.3.1.0, Netduino 3 Wi-Fi (v4.3.2.2) by Secret Labs LLC OEM Product codes (vendor, model, SKU): 34, 177, 4105 Serial Numbers (module, system): 00000000000000000000000000000000 0000000000000000 Solution Build Info: 4.3.2.2, Netduino 3 Wi-Fi (v4.3.2.2) by Secret Labs LLC AppDomains: default, id=1 Assemblies: mscorlib,4.3.1.0 Microsoft.SPOT.Native,4.3.1.0 Microsoft.SPOT.Hardware,4.3.1.0 Microsoft.SPOT.Net,4.3.1.0 Microsoft.SPOT.Net.Security,4.3.1.0 System,4.3.1.0 System.Net.Security,4.3.1.0 Microsoft.SPOT.Hardware.SerialPort,4.3.1.0 Microsoft.SPOT.IO,4.3.1.0 System.IO,4.3.1.0 Microsoft.SPOT.Hardware.PWM,4.3.1.0 Microsoft.SPOT.Hardware.Usb,4.3.1.0 Netduino.IP,1.0.0.0 Netduino.IP.Interop,1.0.0.0 Netduino.IP.LinkLayers.CC3100,1.0.0.0 SecretLabs.NETMF.Diagnostics,4.3.1.0 GoBus,1.5.0.0 SecretLabs.NETMF.Hardware.Netduino,4.3.1.0 Microsoft.SPOT.Hardware.OneWire,4.3.1.0 AlarmMonitor,1.0.0.0 System.Http,4.3.1.0 MFWsStack,4.3.1.0 NetduinoExtensions,4.3.2.1 MFDpwsExtensions,4.3.1.0 BlinkStateLib,1.0.0.0 System.Xml,4.3.1.0