Searched refs:payloadSize (Results 1 – 3 of 3) sorted by relevance
322 LoRaMacCommandStatus_t LoRaMacCommandsAddCmd( uint8_t cid, uint8_t* payload, size_t payloadSize ) in LoRaMacCommandsAddCmd() argument346 newCmd->PayloadSize = payloadSize; in LoRaMacCommandsAddCmd()347 memcpy1( ( uint8_t* )newCmd->Payload, payload, payloadSize ); in LoRaMacCommandsAddCmd()351 CommandsCtx.SerializedCmdsSize += ( CID_FIELD_SIZE + payloadSize ); in LoRaMacCommandsAddCmd()
139 LoRaMacCommandStatus_t LoRaMacCommandsAddCmd( uint8_t cid, uint8_t* payload, size_t payloadSize );
2139 uint16_t payloadSize = 0; in ValidatePayloadLength() local2144 payloadSize = ( lenN + fOptsLen ); in ValidatePayloadLength()2147 if( ( payloadSize <= maxN ) && ( payloadSize <= LORAMAC_PHY_MAXPAYLOAD ) ) in ValidatePayloadLength()