mokomoking2501/profinet_master/snmp does not have a README file
type Asn1Tlv derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub(all) struct SnmpMessage { version : Int community : String pdu_type : Byte request_id : Int error_status : Int error_index : Int varbinds : Array[VarBind]} derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub(all) enum SnmpValue { Null IntVal(Int) OctetString(Bytes) OidVal(String)} derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub(all) struct VarBind { oid : String value : SnmpValue} derive(Eq, @moonbitlang/core/debug.DebugDebug)
let asn1_integer : Byte
let asn1_null : Byte
let asn1_octet_string : Byte
let asn1_oid : Byte
let asn1_sequence : Byte
fn build_get_next_request(community : String, request_id : Int, oid : String) -> SnmpMessage
fn build_get_request(community : String, request_id : Int, oid : String) -> SnmpMessage
fn build_set_request(community : String, request_id : Int, oid : String, value : SnmpValue) -> SnmpMessage
fn encode_oid(oid_str : String) -> Bytes
fn encode_snmp_message(msg : SnmpMessage) -> Bytes
fn format_snmp_message(msg : SnmpMessage) -> String
fn format_snmp_value(value : SnmpValue) -> String
let oid_if_number : String
let oid_lldp_rem_port_id : String
let oid_lldp_rem_sys_name : String
let oid_sys_contact : String
let oid_sys_descr : String
let oid_sys_location : String
let oid_sys_name : String
fn parse_snmp_message(data : Bytes) -> SnmpMessage raise @mokomoking2501/profinet_master/frame.FrameErrorFrameError
let pdu_type_get : Byte
let pdu_type_get_next : Byte
let pdu_type_response : Byte
let pdu_type_set : Byte
let snmp_port : Int
Install
Powered by MoonBit
© 2026 mooncakes.io