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

SNMP???


  • Please log in to reply
9 replies to this topic

#1 Charles

Charles

    Advanced Member

  • Members
  • PipPipPip
  • 192 posts

Posted 14 November 2011 - 03:57 AM

Has anyone seen or heard of an SNMP class that I could use to respond to SNMP GET requests and possibly send SNMP Traps from the N+?

#2 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 14 November 2011 - 12:44 PM

I'd like to create it, but the problem is having time to work on. No heard any ready-to-use Micro Frameowrk classes, though. Cheers
Biggest fault of Netduino? It runs by electricity.

#3 Charles

Charles

    Advanced Member

  • Members
  • PipPipPip
  • 192 posts

Posted 14 November 2011 - 04:59 PM

I cam across this but will not have time to experiment until later. http://netmf.codeple...m/workitem/1232 Looks like it is slated for MF 4.3? Maybe this preview library will be of some use in the mean time.

#4 Charles

Charles

    Advanced Member

  • Members
  • PipPipPip
  • 192 posts

Posted 10 June 2012 - 07:39 PM

Any update on this? Any chance SNMP has now made it into the .NET MF?

#5 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 10 June 2012 - 08:20 PM

Any update on this? Any chance SNMP has now made it into the .NET MF?

You could use this one:
http://netmftoolbox....NET.SNTP_Client
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#6 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 11 June 2012 - 11:30 AM

You could use this one:
http://netmftoolbox....NET.SNTP_Client


Stefan, the SNMP is dramatically different from the SNTP. The first one is for registry/variable data exchange, the second one is for mailing.
I agree on the too-similar name: I often confuse them!
Cheers
Biggest fault of Netduino? It runs by electricity.

#7 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 11 June 2012 - 11:36 AM

Stefan, the SNMP is dramatically different from the SNTP. The first one is for registry/variable data exchange, the second one is for mailing.
I agree on the too-similar name: I often confuse them!
Cheers

Oh my apologise. I indeed misread it. I also confuse it with SMTP often, darn :)
SNMP, sorry, can't help you with that at the moment.
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#8 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 11 June 2012 - 12:26 PM

Gah I am confused, now was the OP asking for

  • SNMP (Simple Network Management Protocol used for reporting system statuses etc.)
  • SMTP (Simple Mail Transfer Protocol outgoing email, rarely used for incoming)
  • SNTP (Simple Network Time Protocol time sync against an authoritive clock)


1) In the case of SNMP i dont think a netmf lib exists yet but there are quite a few FOSS C# implementations which could be cut down to size for netmf, but it really depends on your feature requirements...

2) You can send email by opening a socket connection and sending an appropriate string more info here

3) You can use the SNTP client in the Netmf toolbox.

That said i am leaning more and more towards using ND+'s to do as little as possible when it comes to protocol based stuff and instead let a server (read as any pc with a nic) act as a protocol proxy for me, that way i don't have to compromise on protocol compatibility and also conserve the limited resources of a ND+ for application logic instead of protocol/transport logic.

Nak.

#9 marky-b

marky-b

    Member

  • Members
  • PipPip
  • 17 posts

Posted 16 August 2012 - 07:58 PM

I just randomly came across this library that says it supports .NET MF 3.5

Sharp SNMP (#SNMP) Library

The library looks a bit large, so I'm not sure if it will fit on the netduino. However, it is open source.. so you could possibly strip it down a little.

I did not check it out yet, though. I might dive into it this weekend. I really want to poll my Airport Extreme for current throughput and use an analog gauge of some sort to display it.

Sounds simple enough.. (how most of my hair-brained ideas start)


I cant read. It's for the Compact Framework.. not Micro :(

#10 marky-b

marky-b

    Member

  • Members
  • PipPip
  • 17 posts

Posted 17 August 2012 - 06:31 PM

From what I'm reading about the .netmf, there are hints of a simple SNMP lib being available in 4.3 (release at the time of this post is 4.2). (comments on a link (http://netmf.codeple...m/workitem/1232) previously posted in this thread. (also- i know this is an older thread-- I just thought I would update it as its the #1 result in google for "netduino snmp") Mark




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.