flotillad commands are a superset of individual module and dock commands, wrapped to target a specific dock.
subscribe:0 - Start receiving events from dock 0
unsubscribe:0 - Stop receiving events from dock 0
dock:0 data:<dock command> - Send
<dock command> to dock 0
dock:0 data:<dock command> command, the Flotilla Daemon will parse the command and send anything beginning with
s (the command for setting a value to a particular channel) to the relevant module update queue internally for that dock.
Anything else is queued as a command. So you can, for example, set the dock name by sending this to flotillad:
dock:0 data:n d dockie
Valid values for
<dock command> can be found here: https://www.gitbook.com/book/gadgetoid/flotilla-protocol/details
If you have multiple docks connected, you can set the dock index accordingly and address any of them. Rockpool currently doesn't support multiple docks, but the protocol should be complete enough for you to use.