If join duplicate is received, ignore it.
@@ -95,7 +95,7 @@ owerror_t cjoin_receive(OpenQueueEntry_t* msg,
openserial_printError(COMPONENT_IEEE802154E,ERR_WDRADIO_OVERFLOWS,
(errorparameter_t)0,
(errorparameter_t)msg->payload[0]);
-
+ if (cjoin_getIsJoined() == FALSE) {
if (msg->payload[0] == 0) {
cjoin_setIsJoined(TRUE); // declare join is over
ieee154e_getAsn(asn);
@@ -110,6 +110,7 @@ owerror_t cjoin_receive(OpenQueueEntry_t* msg,
(errorparameter_t)0,
(errorparameter_t)0);
}
+ }
return E_SUCCESS;
}
