Network Master or Slave negotiation for client/server?

  • If you have 2 devices with identical network configurations, how can you have them negotiate who will be master and who is slave?


    I have a couple esp32 modules I'm trying to setup as sensors to feed some data to OMV, but unless I flash each one differently, race conditions apply. I currently have a little routine that basically flips a coin between the 2 to decide a winner or loser, but again, race conditions. They'll both be on the same WiFi nework, it's just that one of them has to become the AP.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!