]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/serial/Serial.h
For some reason nx_bool was failing on TOSSIM.
[tinyos-2.x.git] / tos / lib / serial / Serial.h
index 500e137a94472bc17a77428e2aca5f38075bcf4b..9b4c61cc64cf9f24edf0579cf84c35a41ab32c79 100644 (file)
@@ -110,7 +110,8 @@ typedef struct radio_stats {
 } radio_stats_t;
 
 typedef nx_struct serial_header {
-  nx_am_addr_t addr;
+  nx_am_addr_t dest;
+  nx_am_addr_t src;
   nx_uint8_t length;
   nx_am_group_t group;
   nx_am_id_t type;
@@ -121,4 +122,8 @@ typedef nx_struct serial_packet {
   nx_uint8_t data[];
 } serial_packet_t;
 
+typedef nx_struct serial_metadata {
+  nx_uint8_t ack;
+} serial_metadata_t;
+    
 #endif