[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250 tda5250_message.h, 1.5, 1.6 Tda5250ActiveMessageP.nc, 1.9, 1.10
akoepke
andreaskoepke at users.sourceforge.net
Thu Jul 10 05:40:06 PDT 2008
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250/mac SpeckMacDP.nc, 1.6, 1.7 RedMacP.nc, 1.18, 1.19 RedMac.h, 1.2, 1.3 CsmaMacP.nc, 1.16, 1.17
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX TimeSyncMessageP.nc, 1.2, 1.3 TimeSyncMessageC.nc, 1.2, 1.3 PacketStampP.nc, 1.2, 1.3 PacketStampC.nc, 1.2, 1.3 LocalTimeP.nc, 1.6, 1.7 LocalTimeC.nc, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5780
Modified Files:
tda5250_message.h Tda5250ActiveMessageP.nc
Log Message:
keep sfd time
Index: tda5250_message.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/tda5250_message.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** tda5250_message.h 10 Jul 2007 13:09:47 -0000 1.5
--- tda5250_message.h 10 Jul 2008 12:40:02 -0000 1.6
***************
*** 5,14 ****
#include "PacketAck.h"
typedef nx_struct tda5250_header_t {
! nx_uint8_t length;
! nx_am_addr_t src;
! nx_am_addr_t dest;
! nx_am_id_t type;
! nx_uint8_t token;
} tda5250_header_t;
--- 5,21 ----
#include "PacketAck.h"
+ /*
+ * highest bit of token set: this message is ACK and not intended for the
+ * upper layers. Token is used for alternating bit like duplicate detection,
+ * and set by the sender in [0,127] intervall. The receiver reflects the
+ * token in the Ack, with the highest bit set.
+ */
+
typedef nx_struct tda5250_header_t {
! nx_uint8_t length;
! nx_am_addr_t src;
! nx_am_addr_t dest;
! nx_am_id_t type;
! nx_uint8_t token;
} tda5250_header_t;
***************
*** 22,25 ****
--- 29,34 ----
/* local time when message was generated */
nx_uint32_t time;
+ /* time of sfd generation */
+ nx_uint32_t sfdtime;
nx_uint8_t sendSecurityMode;
nx_uint8_t receiveSecurityMode;
Index: Tda5250ActiveMessageP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tda5250/Tda5250ActiveMessageP.nc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Tda5250ActiveMessageP.nc 13 Sep 2007 23:10:16 -0000 1.9
--- Tda5250ActiveMessageP.nc 10 Jul 2008 12:40:02 -0000 1.10
***************
*** 158,162 ****
}
! default event message_t* Receive.receive[am_id_t id](message_t* msg, void* payload, uint8_t len) {
return msg;
}
--- 158,162 ----
}
! default event message_t* Receive.receive[am_id_t id](message_t* msg, void* payload, uint8_t len) {
return msg;
}
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tda5250/mac SpeckMacDP.nc, 1.6, 1.7 RedMacP.nc, 1.18, 1.19 RedMac.h, 1.2, 1.3 CsmaMacP.nc, 1.16, 1.17
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX TimeSyncMessageP.nc, 1.2, 1.3 TimeSyncMessageC.nc, 1.2, 1.3 PacketStampP.nc, 1.2, 1.3 PacketStampC.nc, 1.2, 1.3 LocalTimeP.nc, 1.6, 1.7 LocalTimeC.nc, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list