Editing UIP

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 111: Line 111:
  
  
===SNMP Agent===
+
===SNMP Agent (Not implemented yet)===
 
*Simple Network Management Protocol (SNMP) is a standard protocol to access variables to remote device via the Internet. Reference in [http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol wikipedia.org]
 
*Simple Network Management Protocol (SNMP) is a standard protocol to access variables to remote device via the Internet. Reference in [http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol wikipedia.org]
 
*It belongs to the Application Layer, as in HTTP.
 
*It belongs to the Application Layer, as in HTTP.
Line 129: Line 129:
 
**Private variables may be constructed under the "enterprise" sub-tree.
 
**Private variables may be constructed under the "enterprise" sub-tree.
 
**The OID for "enterprise" can be obtained from [http://www.iana.org/cgi-bin/enterprise.pl Internet Assigned Number Authority (IANA)].
 
**The OID for "enterprise" can be obtained from [http://www.iana.org/cgi-bin/enterprise.pl Internet Assigned Number Authority (IANA)].
**See [[SNMP MIB Implementation | here]] for method to generate MIB.
 
  
 +
====Abstract Syntax Notation====
 +
*Each MIB variable contains several attributes, such as data type, access type and object identifier.
 +
*Abstract Syntax Notation version 1 (ASN.1) is a language to define these attributes in SNMP.
 +
 +
====To-Do List====
 +
*Build MIB file.
 +
**Build MIB file's written in [http://www.itu.int/ITU-T/studygroups/com17/languages/X.680-0207.pdf ANS.1 notation].
 +
**Build MIB compiler tool to compile MIB file to binary file (store tree structure: oid, id, data type, value, position) and C header file (store id to determine a function service the oid).
 +
**Build MIB converter tool to convert binary MIB file to C header file (embedded to code). Note: binary MIB file can store in MMC/SD card (don't need MIB converter tool).
 +
 +
                                [https://www.ee.buu.ac.th/~acitl/EthernetMini/MCHPTCPStack%203.75/mib2bib.exe MIB compiler tools]
 +
  [http://www.modtronix.com/products/sbc44ec/00870a.pdf foo.mib] (ANS.1 format)  -----------------------------------> foo.bin + oid.h (store ID that's reference to function service of OID)
 +
 
 +
                                MIB converter tools
 +
  foo.bin                  -----------------------------------> foo.h (store the structure of OID tree)
 +
 +
*Build [http://www.rane.com/note161.html snmp's PDU use BER (Base encoding rules)] encoder and decoder library to process data that's transfer between NMS and agents.
 +
*Build snmp API use [http://www.sics.se/~adam/uip/index.php/Main_Page uIP-stack] to communicate between NMS and Agents (open two ports: The manager speak to agents on one port, the agent responds manager on the other port).
 +
*Build binary MIB file reader library.
 +
*Build functions service oid tree.
 +
*Merge MIB ANS.1 file to NMS.
  
 
==Reference==
 
==Reference==

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)