I just wanted to let you know that I've been working on a custom Master / Slave protocol for some of the real-time simulation work we are doing here at NASA Glenn Research Center. We did get authorization to release the protocol open source so it's up on GitHub.
Key protocol features:
Can poll slaves and fetch replies at intervals of one millisecond
9.6k to 4M baud operation (on hardware serial ports)
Single master / multi-slave bus architecture
Half-duplex operation
8 byte message payload (adjustable)
Hard real-time operation (old messages are ignored)
Hi, EADIN Lite sounds neat. Currently I have a bunch of Arduino Mega(s) used to decode my radios in my flight simulator. the code is hored. with a loop on the pc using a select() for IO.
I think that EADIN Lite will solve my problems. but you omitted the header file (eadin.h) and I want to use one master talking / listening from my slaves.
So here are the questions.
what is the EADIN protocol look like (definition) ie description of all the bits. (more info for #3 Design Specs. )
how do you talk to selected slaves?
how can a slave say "I have info for you"?
The documentation? Need more
you elude to both public and private functions but no code??
you mention a eadlin.cpp but never reveal it. (where is it?)
using EADIN Lite I would have one master Arduino with a Ethernet Shield this now becomes the only thing that talks to the RSS. and the master talks via RS-488 multi-drop to the slaves. Which then I could just poll. ie tuner_1 do you have anything for me.? No responds with ACK/NACK, and continues on with tuner_X, until the selected tuner has information in which case the slave will have to respond with its info. Freq, Switches, etc.