Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Closing down an open relay

Hi, Is there any way to close down a relay opened by wifi_comm? When I detect a robot reconnecting I want to close down all relays towards it and reopen them, in case they've lost contact with the other master. Is the only way to destruct the WifiComm object? I'd rather not do that, as there can be other connected robots whose relays I do not want to close.

Or will this be detected by foreign_relay, causing it to reconnect? Or can I "overwrite" the old relays without any trouble?

Regards, Rasmus Ahlberg

Closing down an open foreign relay

Hi, Is there any way to close down a relay opened by wifi_comm? When I detect a robot reconnecting I want to close down all relays towards it and reopen them, in case they've lost contact with the other master. Is the only way to destruct the WifiComm object? I'd rather not do that, as there can be other connected robots whose relays I do not want to close.

Or will this be detected by foreign_relay, causing it to reconnect? Or can I "overwrite" the old relays without any trouble?

Regards, Rasmus Ahlberg