Home
last modified time | relevance | path

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

/loramac-node-2.7.6/src/mac/
DLoRaMacCommands.c75 static LoRaMacCommandsCtx_t CommandsCtx; variable
108 while( IsSlotFree( ( const MacCommand_t* )&CommandsCtx.MacCommandSlots[itr] ) == false ) in MallocNewMacCommandSlot()
117 return &CommandsCtx.MacCommandSlots[itr]; in MallocNewMacCommandSlot()
292 memset1( ( uint8_t* )&CommandsCtx, 0, sizeof( CommandsCtx ) ); in LoRaMacCommandsInit()
294 LinkedListInit( &CommandsCtx.MacCommandList ); in LoRaMacCommandsInit()
316 if( LinkedListAdd( &CommandsCtx.MacCommandList, newCmd ) == false ) in LoRaMacCommandsAddCmd()
327 CommandsCtx.SerializedCmdsSize += ( CID_FIELD_SIZE + payloadSize ); in LoRaMacCommandsAddCmd()
340 if( LinkedListRemove( &CommandsCtx.MacCommandList, macCmd ) == false ) in LoRaMacCommandsRemoveCmd()
345 CommandsCtx.SerializedCmdsSize -= ( CID_FIELD_SIZE + macCmd->PayloadSize ); in LoRaMacCommandsRemoveCmd()
361 curElement = CommandsCtx.MacCommandList.First; in LoRaMacCommandsGetCmd()
[all …]