update delay constants

This commit is contained in:
thomas-ha 2016-03-29 10:24:38 +02:00
parent 4e446bc178
commit bc2f1b5a2a

View file

@ -42,9 +42,10 @@ typedef uint32_t rtimer_clock_t;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#define TSCH_CONF_HW_FRAME_FILTERING 0 #define TSCH_CONF_HW_FRAME_FILTERING 0
/* TODO: measure the delays, this are only estimations */ /* 352us from calling transmit() until the SFD byte has been sent */
#define RADIO_DELAY_BEFORE_TX ((unsigned)US_TO_RTIMERTICKS(300)) #define RADIO_DELAY_BEFORE_TX ((unsigned)US_TO_RTIMERTICKS(352))
#define RADIO_DELAY_BEFORE_RX ((unsigned)US_TO_RTIMERTICKS(100)) /* 192us as in datasheet but ACKs are not always received, so adjusted to 250us */
#define RADIO_DELAY_BEFORE_RX ((unsigned)US_TO_RTIMERTICKS(250))
#define RADIO_DELAY_BEFORE_DETECT 0 #define RADIO_DELAY_BEFORE_DETECT 0
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**