Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/apps/LoRaMac/common/LmHandler/packages/
DLmhpRemoteMcastSetup.c123 static void LmhpRemoteMcastSetupOnMcpsIndication( McpsIndication_t *mcpsIndication );
260 static void LmhpRemoteMcastSetupOnMcpsIndication( McpsIndication_t *mcpsIndication ) in LmhpRemoteMcastSetupOnMcpsIndication() argument
265 if( mcpsIndication->Port != REMOTE_MCAST_SETUP_PORT ) in LmhpRemoteMcastSetupOnMcpsIndication()
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()
[all …]
DLmhpFragmentation.c117 static void LmhpFragmentationOnMcpsIndication( McpsIndication_t *mcpsIndication );
269 static void LmhpFragmentationOnMcpsIndication( McpsIndication_t *mcpsIndication ) in LmhpFragmentationOnMcpsIndication() argument
279 if( mcpsIndication->Port != FRAGMENTATION_PORT ) in LmhpFragmentationOnMcpsIndication()
284 while( cmdIndex < mcpsIndication->BufferSize ) in LmhpFragmentationOnMcpsIndication()
286 switch( mcpsIndication->Buffer[cmdIndex++] ) in LmhpFragmentationOnMcpsIndication()
290 if( mcpsIndication->Multicast == 1 ) in LmhpFragmentationOnMcpsIndication()
302 uint8_t fragIndex = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
326 if( mcpsIndication->Multicast == 1 ) in LmhpFragmentationOnMcpsIndication()
334 … fragSessionData.FragGroupData.FragSession.Value = mcpsIndication->Buffer[cmdIndex++]; in LmhpFragmentationOnMcpsIndication()
336 … fragSessionData.FragGroupData.FragNb = ( mcpsIndication->Buffer[cmdIndex++] << 0 ) & 0x00FF; in LmhpFragmentationOnMcpsIndication()
[all …]
DLmhpCompliance.c170 static void LmhpComplianceOnMcpsIndication( McpsIndication_t* mcpsIndication );
294 static void LmhpComplianceOnMcpsIndication( McpsIndication_t* mcpsIndication ) in LmhpComplianceOnMcpsIndication() argument
306 if( ( mcpsIndication->Port > 0 ) || ( mcpsIndication->AckReceived == true ) ) in LmhpComplianceOnMcpsIndication()
311 if( mcpsIndication->RxData == false ) in LmhpComplianceOnMcpsIndication()
316 if( mcpsIndication->Port != COMPLIANCE_PORT ) in LmhpComplianceOnMcpsIndication()
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()
[all …]
DLmhpClockSync.c117 static void LmhpClockSyncOnMcpsIndication( McpsIndication_t *mcpsIndication );
214 static void LmhpClockSyncOnMcpsIndication( McpsIndication_t *mcpsIndication ) in LmhpClockSyncOnMcpsIndication() argument
219 if( mcpsIndication->Port != CLOCK_SYNC_PORT ) in LmhpClockSyncOnMcpsIndication()
224 while( cmdIndex < mcpsIndication->BufferSize ) in LmhpClockSyncOnMcpsIndication()
226 switch( mcpsIndication->Buffer[cmdIndex++] ) in LmhpClockSyncOnMcpsIndication()
241 if( mcpsIndication->DeviceTimeAnsReceived == true ) 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()
[all …]
DLmhPackage.h83 void ( *OnMcpsIndicationProcess )( McpsIndication_t *mcpsIndication );
/loramac-node-3.4.0/src/apps/LoRaMac/common/LmHandler/
DLmHandler.c171 static void McpsIndication( McpsIndication_t *mcpsIndication );
712 static void McpsIndication( McpsIndication_t *mcpsIndication ) in McpsIndication() argument
717 RxParams.Status = mcpsIndication->Status; in McpsIndication()
724 RxParams.Datarate = mcpsIndication->RxDatarate; in McpsIndication()
725 RxParams.Rssi = mcpsIndication->Rssi; in McpsIndication()
726 RxParams.Snr = mcpsIndication->Snr; in McpsIndication()
727 RxParams.DownlinkCounter = mcpsIndication->DownLinkCounter; in McpsIndication()
728 RxParams.RxSlot = mcpsIndication->RxSlot; in McpsIndication()
730 appData.Port = mcpsIndication->Port; in McpsIndication()
731 appData.BufferSize = mcpsIndication->BufferSize; in McpsIndication()
[all …]