dart_snmp 1.0.2-dev copy "dart_snmp: ^1.0.2-dev" to clipboard
dart_snmp: ^1.0.2-dev copied to clipboard

outdated

A dart library for communicating with simple network management protocol (snmp) enabled devices

example/main.dart

import 'dart:io';
import 'package:dart_snmp/dart_snmp.dart';

void main() async {
  var target = InternetAddress('192.168.1.1');
  var session = await Snmp.createSession(target);
  var oid = Oid.fromString('1.3.6.1.2.1.1.1.0'); // sysDesc
  var message = await session.get(oid);
  print(message.pdu.varbinds[0]); // outputs system description
}
17
likes
0
pub points
72%
popularity

Publisher

unverified uploader

A dart library for communicating with simple network management protocol (snmp) enabled devices

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

asn1lib, logging

More

Packages that depend on dart_snmp