- Mon Dec 22, 2014 5:20 am
#5389
Have just joined this forum and possess a ESP8266 (several in fact). Currently these are connected to the serial port of a PC so I can send and receive any AT commands and +IPD inputs for test purposes. We have a project that involves using the ESP, along with a microcontroller, as a service provider to multiple Smartphones running a common app. This app. along with the vast majority of WiFi devices that connect to a 'service' , use a service discovery mechanism to look for and attach to that particular service. This is pretty universally the Bonjour / Zeroconf protocol. I was amazed to find that a Forum search for 'zeroconf' gave NO hits at all. Has anyone implemented a service discovery scheme with an ESP8266? Is it even possible? It requires the ESP to accept a multicast enquiry to a specific IP (224.0.0.251 and port 5353) It is UDP. if I set the ESP using the AT commands to look on this IP / port, will it get anything - and can it reply with a multicast? The service name (which is a .local) is in the microcontroller so easy to send with AT commands - in principle at least.
If the ESP cannot partake in the (very common) service discovery, it is pretty useless. I'm sure it should be able to.
How many clients (phones) can I connect at the same time? Once the service has been connected, the transactions are then TCP/IP.
Regards
Mike Bolton