uint is unsigned, int is signed, it's all about what happens to the
top bit when you cast or do arithmetic. They are both the same size
(8 bits).
You should be able to make the TOSH_DATA_LENGTH == 1, but look
back through the list for helpful advice on changing the size.
MS
Ian Welch wrote:
I'm trying to make a TOS_Msg with a data size of one byte as apposed to
2 bytes. I looked in AM.h and it defines the array as "int8_t" How is
this different that uint8_t? So my question is, do I modify this struct
to make the data elements in the array of size 1byte. If so how?
Thanks,
Ian
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help