One thing I had done though is limit the value a node can report to 16 bits to reduce the packet size. This is more than enough for the sort of thing I do (solar battery level for example) but maybe not for other applications.
SYNC - The value 40 which is used to interrupt receiving processor then allow it to synchronise timers with the transmission's bit time.ADDR - The physical address of the receiving Node, or one of the system logical addresses.FLGS - Expansion Flags, not used at present but will be useful for things not implemented yet such as sending Point's security level.SEQ - The frame sequence number comprises the lower 4 bits of the third byte.CODE - This field holds the command code the Node's application should action.LEN - The number of bytes in the following DATA.DATA - Optional data, up to 255 bytes as per the preceding LEN field.CRC - An 8-bit CRC.
ADDR - The address this data comes from.POINT - The Point this data comes from.CNTRL - A control byte indicating the format and length of the data in this PDU.TS - a 4-byte timestamp.DATA - Point's data; length and format according to the CNTRL field.
01 - 2?byte raw value.02 - 3?byte standardized value.03 - n?byte ASCII formatted data.04 - n?byte binary data.
All ideas welcome.
Are these your IO Nodules, as described on your web site?
So they will have an I2C interface?
Basically a digital sensor, something I've been thinking about for a while.
define the physical specs of the nodule, so there is a physical "plug-n-play"
can query nodule about it's capabilities and then build an interface dynamically at run time
code to control and monitor, say a GPS unit from company X, is exactly the same as a GPS unit from company Y, assuming they follow the same interface
I'm just throwing these out there... kinda brainstorming.
QuoteI'm just throwing these out there... kinda brainstorming.Good to hear it and thanks. I'm in the process of designing an evaluation board with about 10 Nodes, a protocol analyser, network PSU and a master controller. They will all be connected on the PCB for easy debugging but also be able to be snapped off so the various bits can be used over wires.
I sent you a PM about a new forum I'm running for this network.