metadata->ack = FALSE;
metadata->rssi = 0;
metadata->lqi = 0;
- metadata->timesync = FALSE;
+ //metadata->timesync = FALSE;
metadata->timestamp = CC2420_INVALID_TIMESTAMP;
ccaOn = TRUE;
call CSN.clr();
call TXFIFO_RAM.write( absOffset, (uint8_t*)timesync, sizeof(timesync_radio_t) );
call CSN.set();
+ //restoring the event time to the original value
+ *timesync += time32;
}
if ( (call CC2420PacketBody.getHeader( m_msg ))->fcf & ( 1 << IEEE154_FCF_ACK_REQ ) ) {
ccis : 0, // capture/compare input select
clld : 0, // TBCL1 loads on write to TBCCR1
cap : 1, // compare mode
- scs : 1, // synchronous capture mode
+ scs : 0, // non synchronous capture mode
ccie : 0, // capture compare interrupt enable
};
return CC2int(x);