Skip to content

Commit 4bf728d

Browse files
Daniel Jaecklemluis1
authored andcommitted
Remove parameters for DevEui and JoinEui for the JoinRequest
1 parent 4fe2b72 commit 4bf728d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/mac/LoRaMac.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4463,19 +4463,8 @@ LoRaMacStatus_t LoRaMacMlmeRequest( MlmeReq_t* mlmeRequest )
44634463
return LORAMAC_STATUS_BUSY;
44644464
}
44654465

4466-
if( ( mlmeRequest->Req.Join.DevEui == NULL ) ||
4467-
( mlmeRequest->Req.Join.JoinEui == NULL ) )
4468-
{
4469-
return LORAMAC_STATUS_PARAMETER_INVALID;
4470-
}
4471-
4472-
MacCtx.NvmCtx->NetworkActivation = ACTIVATION_TYPE_NONE;
4473-
44744466
ResetMacParameters( );
44754467

4476-
SecureElementSetDevEui( mlmeRequest->Req.Join.DevEui );
4477-
SecureElementSetJoinEui( mlmeRequest->Req.Join.JoinEui );
4478-
44794468
MacCtx.NvmCtx->MacParams.ChannelsDatarate = RegionAlternateDr( MacCtx.NvmCtx->Region, mlmeRequest->Req.Join.Datarate, ALTERNATE_DR );
44804469

44814470
queueElement.Status = LORAMAC_EVENT_INFO_STATUS_JOIN_FAIL;

0 commit comments

Comments
 (0)