Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Brian Ingenito

Member Since 22 May 2015
Offline Last Active Jul 06 2015 01:32 PM

Topics I've Started

Hang in CC3100 socket for HttpWebRequest

24 May 2015 - 05:37 PM

mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext)  
[Managed to Native Transition] 
Netduino.IP.LinkLayers.CC3100!Netduino.IP.LinkLayers.CC3100.CallFunction + 0xcb bytes      
Netduino.IP.LinkLayers.CC3100!Netduino.IP.LinkLayers.CC3100.sl_Socket + 0x29 bytes      
Netduino.IP.LinkLayers.CC3100!Netduino.IP.LinkLayers.CC3100SocketNative.socket + 0x60 bytes      
[Native to Managed Transition] 
[Managed to Native Transition] 
Microsoft.SPOT.Net.dll!Microsoft.SPOT.Net.SocketNative.socket(int family, int type, int protocol) + 0x2e bytes           
System.dll!System.Net.Sockets.Socket.Socket(System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) Line 41 + 0x28 bytes      C#
System.Http.dll!System.Net.HttpWebRequest.EstablishConnection(System.Uri proxyServer, System.Uri targetServer) Line 1393 + 0x189 bytes   C#
System.Http.dll!System.Net.HttpWebRequest.SubmitRequest() Line 1481 + 0x20 bytes           C#
System.Http.dll!System.Net.HttpWebRequest.GetResponse() Line 1700 + 0xd bytes             C#
BuildTrigger.exe!BuildTrigger.Program.SendRequest() Line 79 + 0x27 bytes              C#
BuildTrigger.exe!BuildTrigger.Program.Button_ButtonPressed(object sender, bool isPressed) Line 44 + 0x23 bytes       C#
NetduinoGo.Button.dll!NetduinoGo.Button.OnInterrupt() Line 59 + 0x1e bytes         C#
GoBus.dll!GoBus.GoModule._interruptPort_OnInterrupt(uint data1, uint state, System.DateTime 

I have a successful DCHP connection (thanks again Chris and DevBiker!) and can debug print an IP (I see it on my router network object lists too), but when I attempt to make a request via HttpWebRequest it hangs indefinitely within CC3100 socket waiting for a what I assume is a connection.  I get the same behavior with the netmf toolbox HTTP_Client/IntegatedSocket.  Putting a timeout on HttpWebRequest does nothing.  Could it be related to attempting to make the socket within the interrupt callback for the Go button?










22 May 2015 - 12:29 AM

Attempting to configure dhcp connection against my verizon router with wpa2 and psk.  I select WPAPSK, do I use no auth?  I put in the pass phrase and ssid, and when I apply, no lights are shown other than the power light.  No yellow or anything.  It's as though it isn't even trying to connect.

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.