Hello forum,
I know that one-to-many communication is not supported (yet?) but I guess I can put it together for my scenario myself. However, I’d very much appreciate a little advice
My scenario is
- one “controller wixel” C (talking to a python program via USB)
- multiple stand-alone “remote switch wixels” R_i waiting for a command to toggle one of their digital outputs either (a) for 30ms or (b) until the next command arrived.
Each R_i has its own uint8 ID and i<8. Thus, all I need to do is to reliably transmit one byte to each R_i to set all states.
A max delay (for channel switching?) of 10ms would be ok but the jitter in timing shouldn’t exceed 1ms. If data gets lost (i.e., C does not get an ack), up to 100 resends would be ok.
I see two approaches here:
- Follow the advice in the thread by HMRRailWay Fri Jul 22, 2011 using channel switching and use the existing radio libs.
- Have all wixels on the same channel and use one of the lower level radio libs to implement my own communication protocol.
I have experimented with transmitting just a single byte but couldn’t get anything transmitted or with less than 1% transmission success with either of the radio libs (and two wixels on the same table).
So my questions are
- any recommendation which aproach to use?
- if it’s approach 2: any advice how to start?
Thanks a lot,
Mathias