CC2420_ABORT_PERIOD = 320
};
+#ifdef CC2420_HW_SECURITY
uint16_t startTime = 0;
norace uint8_t secCtrlMode = 0;
norace uint8_t nonceValue[16] = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
norace uint8_t skip;
norace uint16_t CTR_SECCTRL0, CTR_SECCTRL1;
+ uint8_t securityChecked = 0;
+
+ void securityCheck();
+#endif
norace message_t * ONE_NOK m_msg;
cc2420_transmit_state_t m_state = S_STOPPED;
- uint8_t securityChecked = 0;
-
bool m_receiving = FALSE;
uint16_t m_prev_time;
error_t resend( bool cca );
void loadTXFIFO();
void attemptSend();
- void securityCheck();
void congestionBackoff();
error_t acquireSpiResource();
error_t releaseSpiResource();
return FAIL;
}
+#ifdef CC2420_HW_SECURITY
securityChecked = 0;
+#endif
m_state = S_LOAD;
m_cca = cca;
m_msg = p_msg;