Hi there,
am loving Cocoon :)
I'm trying to hardwire a 'boss' device into my cocoon network. One that can issue files to share and some commands. Can you advise on a good way to achieve this? I am thinking of the scenario when 1 or 2 devices out of X could be the boss device but it is only the very first device that should be so. Currently when a device thinks it is the boss it sendMessageToAll asking for which device is the boss. If another boss device gets this message it replies, telling it that there already is such a device, and that devices ClientVO. If no such message is received, after Y seconds, the new boss device sends a new message saying it is the boss.
Seems clunky my method! Is there a cleaner way? Thanks!
Andy.