discomposed 0.0.1-alpha01 copy "discomposed: ^0.0.1-alpha01" to clipboard
discomposed: ^0.0.1-alpha01 copied to clipboard

outdated

A library that composes together some of the common service discovery techniques for local networking.

YASDL - Yet another service discovery library.

Composes together some common service discovery techniques to ease local network device connectivity.

Usage #

A simple usage example:

import 'dart:convert';

import 'package:discomposed/discomposed.dart';

void main() async {
  var serviceDiscoverer = ServiceDiscoverer();
  var services = await serviceDiscoverer.findAllServices();

  var servicesJson = JsonEncoder.withIndent('  ').convert(services.toList());
  print('---\nThe following services were discovered:\n\n${servicesJson}');
}

Platform Compatibility #

TODO Put a table here of the different discovery mechanisms

TODO Migrate the docs about SSDP, MDS, NSD, UPNP, N-UPNP etc etc here too.

TODO Use https://www.tablesgenerator.com/markdown_tables for ease

SSDP MDS NSD UPNP N-UPNP
Android
iOS
Web
Desktop

TODO Fixes #

Philips Hue

  • Philips Hue (hap and hue) when scanned via MDNS is a little flaky. I.e on first scan shows, on later doesn't
  • It could be due to id / origin IP used on first scan? I.e maybe it thinks its already responded?
  • It could be due to time spent scanning, maybe it will only poll in certain time frames?
3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A library that composes together some of the common service discovery techniques for local networking.

License

unknown (license)

Dependencies

flutter, flutter_nsd, multicast_dns, pedantic, upnp

More

Packages that depend on discomposed