Hi everyone !!! I am new to tinyos and need some help regarding timestamp
generation. I have implemented Mote to PC communication using the
Oscilloscope and BaseStation applications. I wish to modify the BaseStation
so that when it receives a packet it should modify it by placing its
timestamp insi
Rehan,
You'll need to modify the receive function BaseStationP with something
like this:
message_t* receive(am_id_t id, message_t *msg, void *payload, uint8_t len) {
message_t *ret = msg;
nx_uint32_t timestamp;
if(call TimeSyncPacket.isValid(msg)) {
timestamp = call TimeSyncP