MLA44 - Viewing Profile: Posts - Netduino Forums
   
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.

MLA44

Member Since 06 Nov 2014
Offline Last Active Dec 02 2016 12:56 PM
-----

Posts I've Made

In Topic: N+2 Hangs on GetRequestStream

12 December 2014 - 06:53 AM

Hi,

 

I was experiencing something similar using HttpWebRequest.

My problem was that property KeepAlive was true (default), which causes the n+2 to "run out" of sockets.

I changed it to false since all my data is in the header anyway.

Maybe you should add a Dispose() in your network code.

 

Regards,

Martin


In Topic: N+2 stability issue, stops working after some hours

11 December 2014 - 09:44 AM

Hi all,

 

As I have been reading on about people struggling with network communication, I may have solved the issue myself by changing the KeepAlive property of HttpWebRequest from true to false. This should prevent that I don't "run out" of sockets. At least I think so.

All my data is in the header anyway so no message is needed :-)

 

Any comments are welcome.

 

Regards,

Martin


In Topic: N+2 stability issue, stops working after some hours

11 December 2014 - 07:30 AM

When you initially create a new project in VS and chose to make the project for the Netduino Plus 2 the program.cs will have this line:

using SecretLabs.NETMF.Hardware.Netduino;
 
I changed that to:
using SecretLabs.NETMF.Hardware.NetduinoPlus;
 
... since it is a Netduino Plus 2 I have. I don't know the details, but I do know that there are hardware differences between the N+2 and the other boards. Does it matter which library is used? And if, which one should I use for the Netduino Plus 2?
 
And also, could this have anything to do with my problems above?
 
Regards,
Martin

In Topic: Netduino Plus 2 - encryption

10 December 2014 - 10:00 AM

Hi,

 

Thanks for the link. I will have a look at it.

 

From the Cortex-M4 reference manual it does state that there is a cryptographic processor (also on the STM32F405 used on the Netduino).

Is it really so, that there is no ways of using that?

I have seen a folder with openSSL in the "netduinofirmware_source_4.3.1.0.zip", but can that be used somehow?

 

PS. I'm new to managed code. Previously I have mainly been working uC/OS-II, FreeRTOS and similar things. I (for now) really hate looking at all the nice hardware features of the Cortex-M4 and NOT being able to use them. Of cause I could skip NETMF but that would introduce other limitations.

 

Thanks for a nice forum, though :-)

 

Martin


In Topic: DateTime in NativeEventHandler()

19 November 2014 - 10:04 AM

Hi,

 

Thanks, for the fast reply. I will assume that by resolution of 1 µs, you also mean accuracy of 1 µs. Please let me know if that is not the case.

I have been thinking about weather it would be necessary to customize the firmware for using hardware features in more advanced ways. Thank you, for confirming that.

For now however, the project is not large enough to justify the time needed for changing the firmware.

 

In the future however, I might very well do so, as we are planing on using the n+2 in some of our products.

 

/Martin


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.