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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!