Netduino home hardware projects downloads community

Jump to content


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

Tenda 3G611R+ 3G router issues


  • Please log in to reply
2 replies to this topic

#1 ColinR

ColinR

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • LocationCape Town, South Africa

Posted 31 October 2012 - 09:12 AM

Web Requests work through other routers, regardless of access medium.
Same 3G stick works in a mikrotik router, and a dlink. But using this particular model (when on 3G), It never gets past s.Send().

Anyone had anything similar with specific device not playing together nicely?

postData = "d=1&e=2";
var headers = "POST http://www.url.com/w.php HTTP/1.1" + CRLF +
"Host: www.url.com" + CRLF +
"User-Agent: Netduino 1.0.0.0" + CRLF +
"Content-Type: application/x-www-form-urlencoded" + CRLF +
"Content-Length: " + postData.Length + CRLF + CRLF;
if (s != null) s.Send(Encoding.UTF8.GetBytes(headers + postData));
return ReadWebResponse(s);


#2 Nobby

Nobby

    Advanced Member

  • Members
  • PipPipPip
  • 70 posts

Posted 31 October 2012 - 09:19 AM

Does the call to s.Send() block indefinitely or does an exception get thrown? It's odd that the router permits the outbound socket connection but not the underlying data. I'm 50/50 about Tenda. I've bought quite a few different products of theirs. I use a 16 port gigabit switch at home but I've bought wireless gear as well in the past and thrown it in the bin out of frustration.

#3 ColinR

ColinR

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • LocationCape Town, South Africa

Posted 31 October 2012 - 09:25 AM

Does the call to s.Send() block indefinitely or does an exception get thrown? It's odd that the router permits the outbound socket connection but not the underlying data.

A Socket Exception is thrown (don't have the details at the moment). What concerns me is that PCs and phones can use the Tenda as a router over 3G without issue. It's only the Netduino that is unable to. I tried various combinations of headers and postData sizes to try and pinpoint the issue.

I'm 50/50 about Tenda.

Yeah, you do get what you pay for.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.