0 purchases
discomposed
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}');
}
copied to clipboard
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?
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.