Dargar <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hummmm. Interesting. > The biggest disadvantage I can see with this is that it feels more > complex. I'm in the process of learning and I feel like it is easier > to "understand" what I'm doing if I use a measure-identifier. > > I see that having a certain telegram format where the second data is, > say, T2, I don't need the identifier anymore, but what happens when in > the 16bit data-integer, if the bits match up to create the comma? > Won't that throw the whole telegram off?
I think this is easier, but it takes more bandwith than your solution. You have to convert your integers into strings of ASCII characters. You need 5 characters to represent an unsigned 16 bit integer, and 6 for a signed integer. With the comma delimiter in the telegram, you end up sending 7 bytes of data for each measured channel. If yor are not sampling your sensors more than once every second, the extra amount of data transfered will not be a problem. Erik