You are reading a single comment by @Vasily and its replies.
Click here to read the full conversation.
-
I give up now at 3AM. Seams that sending UDP package does not work.
I tried all possible ways I can immagine, also intalled SmartSniff to check on PC what are UDP package around. As well did a script that ESP will send simplest UDP package to my PC and not to Alexa. All tries are hopeless, nothing is sent (apparently).I tried to adapt CaptivePortal as it declared to be working. Still no success.
Any help appresciated.
For multicast support you need to use socket.addMembership() method (The dgram module is mostly compatible with node.js' https://nodejs.org/api/dgram.html). There are node.js ssdp implementations available to have a look at.
Here is an Espruino specific example of an mdns (multicast DNS) module I crafted.