Hi Folks-
I have a Bluetooth inquiry/response connection problem for which I suspect there is a classic solution. I just can't seem to find the answer so I hope somebody here can offer a solution. The problem domain is Bluetooth but I don't think that should be a limiter in finding the solution.
Device A and B are Bluetooth devices that must find each other but only one can be the "connector" and hence the other must be the "connectee". The problem is that both A and B must advertize as peers before they connect (same advertizement IDs) and when one finds the other it attempts to connect to the other. Usually the situation works (connector finishes connecting to the connectee and then the connectee stops advertizing). The bad situation happens when both devices attempt to operate as connectors (not connectees) because they both found each other at nearly the same time.
It's like a bunch of devices trying to join a party but each are obligated to conform to an invite / accept protocol. Failing that protocol represents a broken design.
Can someone offer how systems like this would solve this problem? Even offering some useful engineering vocabulary so that I can search the web would be helpful.
I hope I gave a clear explanation of my needs. Thanks for helping.
John