scj7t4/FREEDM — Issue #16: Support For Module Broadcast Messages
Author: scj7t4
Created: 2011-11-17 21:43:58+00:00
State: open

My latest commit adds support for "any" messages that can be sent by a module for the purpose of updating the state of all modules on a node.

In particular, the group management code now pushes the peer list as an any message. I have updated Ravi and Li's code to accept the new message.

The point of this issue is two fold:

1. Be aware that the dispatcher has been modified to pass CMessages instead of ptrees. This is largely to grant access to new message features like timestamps, expire times, etc that are coming in future merges.
2. We need to consider that a message that arrives at a module may not have the "sc" root for its messages now, but may also have many (or possibly both.) For times sake, I've done a simple hack, but it something to consider how would be best to handle these root nodes in the future.