Take a look at this

typedef struct ps_message_t {
    uint8_t header;
    uint16_t identifier;
    uint8_t message_size; 
    uint8_t message_type;
    uint8_t message[MAX_PS_MESSAGE_SIZE];
}ps_message_t;

when compiled and running, identifier occupies 3
bytes. Why?

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to