-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Simple Serial Management Protocol (SSMP) | ||
|
||
## ENQ | ||
|
||
Establishes connection, switching serial port from CLI to SSMP if necessary. | ||
|
||
``` | ||
REQUEST: SYN SYN ENQ | ||
RESPONSE: SYN SYN ACK | ||
``` | ||
|
||
## GetRequest | ||
|
||
Requests a PDU by MIB OID. | ||
|
||
``` | ||
REQUEST: SYN SYN SOH ... STX GET <OID><ETX> | ||
RESPONSE: SYN SYN ACK ... STX <value> <ETX> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
UHPPOTED-SSMP-MIB DEFINITIONS ::= BEGIN | ||
|
||
IMPORTS | ||
MODULE-IDENTITY, OBJECT-TYPE, enterprises, Integer32 | ||
FROM SNMPv2-SMI | ||
MODULE-COMPLIANCE, OBJECT-GROUP | ||
FROM SNMPv2-CONF; | ||
|
||
uhppotedSSMP MODULE-IDENTITY | ||
LAST-UPDATED "202407290000Z" | ||
ORGANIZATION "github.com/uhppoted" | ||
CONTACT-INFO | ||
"email: uhppoted.development@gmail.com" | ||
DESCRIPTION | ||
"MIB objects for the uhppoted breakout board" | ||
REVISION "202407290000Z" | ||
DESCRIPTION "First draft" | ||
::= { enterprises 65536 } | ||
|
||
system OBJECT IDENTIFIER ::= { uhppotedSSMP 1 } | ||
controller OBJECT IDENTIFIER ::= { system 1 } | ||
|
||
controllerId OBJECT-TYPE | ||
SYNTAX Integer32 (0..2147483647) | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"An integer object representing the controller ID." | ||
::= { controller 1 } | ||
|
||
controllerGroup OBJECT-GROUP | ||
OBJECTS { controllerId } | ||
STATUS current | ||
DESCRIPTION | ||
"Controller configuration information." | ||
::= { system 2 } | ||
|
||
compliance MODULE-COMPLIANCE | ||
STATUS current | ||
DESCRIPTION | ||
"The compliance statement for the controllerId object." | ||
MODULE -- this module | ||
MANDATORY-GROUPS { controllerGroup } | ||
::= { system 3 } | ||
|
||
END |