Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/apps/LoRaMac/common/LmHandler/packages/
DLmhpRemoteMcastSetup.c262 uint8_t cmdIndex = 0; in LmhpRemoteMcastSetupOnMcpsIndication() local
270 while( cmdIndex < mcpsIndication->BufferSize ) in LmhpRemoteMcastSetupOnMcpsIndication()
272 switch( mcpsIndication->Buffer[cmdIndex++] ) in LmhpRemoteMcastSetupOnMcpsIndication()
288 uint8_t id = mcpsIndication->Buffer[cmdIndex++]; in LmhpRemoteMcastSetupOnMcpsIndication()
291 … McSessionData[id].McGroupData.McAddr = ( mcpsIndication->Buffer[cmdIndex++] << 0 ) & 0x000000FF; in LmhpRemoteMcastSetupOnMcpsIndication()
292 … McSessionData[id].McGroupData.McAddr += ( mcpsIndication->Buffer[cmdIndex++] << 8 ) & 0x0000FF00; in LmhpRemoteMcastSetupOnMcpsIndication()
293 … McSessionData[id].McGroupData.McAddr += ( mcpsIndication->Buffer[cmdIndex++] << 16 ) & 0x00FF0000; in LmhpRemoteMcastSetupOnMcpsIndication()
294 … McSessionData[id].McGroupData.McAddr += ( mcpsIndication->Buffer[cmdIndex++] << 24 ) & 0xFF000000; in LmhpRemoteMcastSetupOnMcpsIndication()
298 … McSessionData[id].McGroupData.McKeyEncrypted[i] = mcpsIndication->Buffer[cmdIndex++]; in LmhpRemoteMcastSetupOnMcpsIndication()
301 …McSessionData[id].McGroupData.McFCountMin = ( mcpsIndication->Buffer[cmdIndex++] << 0 ) & 0x0000… in LmhpRemoteMcastSetupOnMcpsIndication()
[all …]
DLmhpFragmentation.c271 uint8_t cmdIndex = 0; in LmhpFragmentationOnMcpsIndication() local
284 while( cmdIndex < mcpsIndication->BufferSize ) in LmhpFragmentationOnMcpsIndication()
286 switch( mcpsIndication->Buffer[cmdIndex++] ) in LmhpFragmentationOnMcpsIndication()
302 uint8_t fragIndex = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
334 … fragSessionData.FragGroupData.FragSession.Value = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
336 … fragSessionData.FragGroupData.FragNb = ( mcpsIndication->Buffer[cmdIndex++] << 0 ) & 0x00FF; in LmhpFragmentationOnMcpsIndication()
337 … fragSessionData.FragGroupData.FragNb |= ( mcpsIndication->Buffer[cmdIndex++] << 8 ) & 0xFF00; in LmhpFragmentationOnMcpsIndication()
339 fragSessionData.FragGroupData.FragSize = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
341 fragSessionData.FragGroupData.Control.Value = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
343 fragSessionData.FragGroupData.Padding = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
[all …]
DLmhpClockSync.c216 uint8_t cmdIndex = 0; in LmhpClockSyncOnMcpsIndication() local
224 while( cmdIndex < mcpsIndication->BufferSize ) in LmhpClockSyncOnMcpsIndication()
226 switch( mcpsIndication->Buffer[cmdIndex++] ) in LmhpClockSyncOnMcpsIndication()
243 cmdIndex += 5; in LmhpClockSyncOnMcpsIndication()
247 timeCorrection = ( mcpsIndication->Buffer[cmdIndex++] << 0 ) & 0x000000FF; in LmhpClockSyncOnMcpsIndication()
248 timeCorrection += ( mcpsIndication->Buffer[cmdIndex++] << 8 ) & 0x0000FF00; in LmhpClockSyncOnMcpsIndication()
249 timeCorrection += ( mcpsIndication->Buffer[cmdIndex++] << 16 ) & 0x00FF0000; in LmhpClockSyncOnMcpsIndication()
250 timeCorrection += ( mcpsIndication->Buffer[cmdIndex++] << 24 ) & 0xFF000000; in LmhpClockSyncOnMcpsIndication()
251 …if( ( mcpsIndication->Buffer[cmdIndex++] & 0x0F ) == LmhpClockSyncState.TimeReqParam.Fields.TokenR… in LmhpClockSyncOnMcpsIndication()
277 cmdIndex++; in LmhpClockSyncOnMcpsIndication()
[all …]
DLmhpCompliance.c296 uint8_t cmdIndex = 0; in LmhpComplianceOnMcpsIndication() local
323 switch( mcpsIndication->Buffer[cmdIndex++] ) in LmhpComplianceOnMcpsIndication()
345 ComplianceTestState.NewClass = ( DeviceClass_t ) mcpsIndication->Buffer[cmdIndex++]; in LmhpComplianceOnMcpsIndication()
353 mibReq.Param.AdrEnable = mcpsIndication->Buffer[cmdIndex++]; in LmhpComplianceOnMcpsIndication()
360 LoRaMacTestSetDutyCycleOn( mcpsIndication->Buffer[cmdIndex++] ); in LmhpComplianceOnMcpsIndication()
367 uint8_t index = mcpsIndication->Buffer[cmdIndex++]; in LmhpComplianceOnMcpsIndication()
380 uint8_t frameType = mcpsIndication->Buffer[cmdIndex++]; in LmhpComplianceOnMcpsIndication()
397 …estState.DataBuffer[ComplianceTestState.DataBufferSize++] = mcpsIndication->Buffer[cmdIndex++] + 1; in LmhpComplianceOnMcpsIndication()
429 ComplianceTestState.ClassBStatus.PingSlotPeriodicity = mcpsIndication->Buffer[cmdIndex++]; in LmhpComplianceOnMcpsIndication()
435 ComplianceTestState.IsBeaconRxStatusIndOn = ( bool ) mcpsIndication->Buffer[cmdIndex++]; in LmhpComplianceOnMcpsIndication()
[all …]