Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 1 of 1) sorted by relevance

/loramac-node-2.7.6/src/mac/
DLoRaMacCommands.c106 uint8_t itr = 0; in MallocNewMacCommandSlot() local
108 while( IsSlotFree( ( const MacCommand_t* )&CommandsCtx.MacCommandSlots[itr] ) == false ) in MallocNewMacCommandSlot()
110 itr++; in MallocNewMacCommandSlot()
111 if( itr == NUM_OF_MAC_COMMANDS ) in MallocNewMacCommandSlot()
117 return &CommandsCtx.MacCommandSlots[itr]; in MallocNewMacCommandSlot()
442 uint8_t itr = 0; in LoRaMacCommandsSerializeCmds() local
453 if( ( availableSize - itr ) >= ( CID_FIELD_SIZE + curElement->PayloadSize ) ) in LoRaMacCommandsSerializeCmds()
455 buffer[itr++] = curElement->CID; in LoRaMacCommandsSerializeCmds()
456 memcpy1( &buffer[itr], curElement->Payload, curElement->PayloadSize ); in LoRaMacCommandsSerializeCmds()
457 itr += curElement->PayloadSize; in LoRaMacCommandsSerializeCmds()