Searched refs:newCmd (Results 1 – 1 of 1) sorted by relevance
305 MacCommand_t* newCmd; in LoRaMacCommandsAddCmd() local308 newCmd = MallocNewMacCommandSlot( ); in LoRaMacCommandsAddCmd()310 if( newCmd == NULL ) in LoRaMacCommandsAddCmd()316 if( LinkedListAdd( &CommandsCtx.MacCommandList, newCmd ) == false ) in LoRaMacCommandsAddCmd()322 newCmd->CID = cid; in LoRaMacCommandsAddCmd()323 newCmd->PayloadSize = payloadSize; in LoRaMacCommandsAddCmd()324 memcpy1( ( uint8_t* )newCmd->Payload, payload, payloadSize ); in LoRaMacCommandsAddCmd()325 newCmd->IsSticky = IsSticky( cid ); in LoRaMacCommandsAddCmd()