sendDiscoverHello static method
Implementation
static sendDiscoverHello(String ip) async {
Uri url = Uri.http('/$ip:$PORT', '/secure-control/discover-hello',
{'payload': 'discover-hello'});
return await http
.get(url)
.timeout(const Duration(seconds: DISCOVER_TIMEOUT))
.catchError((e) {
//print('Failed sending discover message: $e');
});
}