upnped 1.1.2+1 copy "upnped: ^1.1.2+1" to clipboard
upnped: ^1.1.2+1 copied to clipboard

A Dart library for discovering and controlling UPnP devices.

upnped #

A Dart library for discovering and controlling UPnP devices.

codecov License: MIT

Features #

This package partially implements UPnP 2.0 architecture and supports the following UPnP server features:

  • UPnP discovery
  • Device and Service information
  • Non-standard vendor extensions
  • Service control
  • Event monitoring

Installation #

Install from pub with:

flutter pub add upnped

or by adding upnped as a dependency in pubspec.yaml:

dependencies:
  upnped: <latest_version>

Quickstart #

import 'package:upnped/upnped.dart';

Future<void> main() async {
  final server = Server.getInstance();

  server.devices.listen((Device event) {
    print('Discovered a device: ${event});
  });

  await server.listen(Options());
  await server.search();
  await server.stop();
}

Documentation #

Check out the documentation or examples for more information.

Contributing #

Something missing that you need? Open an issue or submit a pull request.

2
likes
130
points
12
downloads

Publisher

verified publishersamueljhuff.com

Weekly Downloads

A Dart library for discovering and controlling UPnP devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, equatable, flutter, http, platform, rxdart, sprintf, xml

More

Packages that depend on upnped