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.

Bainesbunch

Member Since 17 Jul 2011
Offline Last Active Nov 14 2017 08:30 PM
-----

Posts I've Made

In Topic: Multi threading

14 January 2013 - 09:55 AM

Same as you do in any .NET environment :)


In Topic: Firmware update issue / VS issue

27 August 2012 - 06:05 PM

You did flash the Netduino Plus version and not the non plus version ... right ?

Its just that looking at the report it says "HalSystemInfo.halVendorInfo: Netduino (v4.2.0.0) by Secret Labs LLC"

Just a thought

Cheers Pete.

In Topic: [Webserver] Website with password protection

15 June 2012 - 10:11 PM

Hi there, I'm new here and just received my first netduino+.

Until now I wrote a code that provides a webserver which can get information from the browser throug the request (on loading the page). -> When you watch the request you can see there is the path which I use as command (ex. www.google.com/command1)

I start a pc over WOL by opening a special link (ex. www.mydomain.com/wolStartNow).
The problem is that EVERYBODY can open the link and start my pc!

So I would like to protect access by password.
But, (don't forget I'm a netduino and c# beginner) I can't use php on netduino+. Or do I?

So, I tried one thing: Using a javascript code that hashes a username and password from a html-form. The generated hash is the command. Nobody could remember that hash/url if he watched me sending the command.

BUT: The javascript code is so long, that I got an Out-Of-Memory-Exception on the netduino+.

Do you have some ideas how to solve that problem, or how to protect my netduino-html-page with a password?

Thank you very much!
LordOfTheFlakes


In Topic: Extendedtimer

28 May 2012 - 11:43 AM

Hi Mark,


Depending on the precision of the timer you can set a standard timer to test the TimeSpan from the point that you started the timer, resetting the start point and raising an event when it is reached.



So if you wanted to check every second then set the timer to 1 second then in the sub that it calls do a simple TimeSpan

Here is a link to TimeSpan

http://forums.asp.net/t/1386180.aspx/1

The second alternative it to start a new worker thread that checks the TimeSpan in a loop and resets the start point and raises an event when the time has expired.


Hope this helps

Cheers Pete.

In Topic: Industrial Use Case

28 April 2012 - 06:58 PM

Thanks for sharing your experience Pete. Impressive use of the Netdruino. Just shows what's possible. Without giving away any details (as I understand your situation) did you have to customize the Netdruino to get the level of reliability up. A simple yes or no would suffice! Thanks


Yes. I basicly built it onto another PCB that took care of the nasty stuff that the outside world can though at it :D

Pete.

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.