Lines Matching refs:nvmData
707 static void LoRaMacHandleNvm( LoRaMacNvmData_t* nvmData );
1768 static void LoRaMacHandleNvm( LoRaMacNvmData_t* nvmData ) in LoRaMacHandleNvm() argument
1779 crc = Crc32( ( uint8_t* ) &nvmData->Crypto, sizeof( nvmData->Crypto ) - in LoRaMacHandleNvm()
1780 sizeof( nvmData->Crypto.Crc32 ) ); in LoRaMacHandleNvm()
1781 if( crc != nvmData->Crypto.Crc32 ) in LoRaMacHandleNvm()
1783 nvmData->Crypto.Crc32 = crc; in LoRaMacHandleNvm()
1788 crc = Crc32( ( uint8_t* ) &nvmData->MacGroup1, sizeof( nvmData->MacGroup1 ) - in LoRaMacHandleNvm()
1789 sizeof( nvmData->MacGroup1.Crc32 ) ); in LoRaMacHandleNvm()
1790 if( crc != nvmData->MacGroup1.Crc32 ) in LoRaMacHandleNvm()
1792 nvmData->MacGroup1.Crc32 = crc; in LoRaMacHandleNvm()
1797 crc = Crc32( ( uint8_t* ) &nvmData->MacGroup2, sizeof( nvmData->MacGroup2 ) - in LoRaMacHandleNvm()
1798 sizeof( nvmData->MacGroup2.Crc32 ) ); in LoRaMacHandleNvm()
1799 if( crc != nvmData->MacGroup2.Crc32 ) in LoRaMacHandleNvm()
1801 nvmData->MacGroup2.Crc32 = crc; in LoRaMacHandleNvm()
1806 crc = Crc32( ( uint8_t* ) &nvmData->SecureElement, sizeof( nvmData->SecureElement ) - in LoRaMacHandleNvm()
1807 sizeof( nvmData->SecureElement.Crc32 ) ); in LoRaMacHandleNvm()
1808 if( crc != nvmData->SecureElement.Crc32 ) in LoRaMacHandleNvm()
1810 nvmData->SecureElement.Crc32 = crc; in LoRaMacHandleNvm()
1815 crc = Crc32( ( uint8_t* ) &nvmData->RegionGroup1, sizeof( nvmData->RegionGroup1 ) - in LoRaMacHandleNvm()
1816 sizeof( nvmData->RegionGroup1.Crc32 ) ); in LoRaMacHandleNvm()
1817 if( crc != nvmData->RegionGroup1.Crc32 ) in LoRaMacHandleNvm()
1819 nvmData->RegionGroup1.Crc32 = crc; in LoRaMacHandleNvm()
1823 crc = Crc32( ( uint8_t* ) &nvmData->RegionGroup2, sizeof( nvmData->RegionGroup2 ) - in LoRaMacHandleNvm()
1824 sizeof( nvmData->RegionGroup2.Crc32 ) ); in LoRaMacHandleNvm()
1825 if( crc != nvmData->RegionGroup2.Crc32 ) in LoRaMacHandleNvm()
1827 nvmData->RegionGroup2.Crc32 = crc; in LoRaMacHandleNvm()
1832 crc = Crc32( ( uint8_t* ) &nvmData->ClassB, sizeof( nvmData->ClassB ) - in LoRaMacHandleNvm()
1833 sizeof( nvmData->ClassB.Crc32 ) ); in LoRaMacHandleNvm()
1834 if( crc != nvmData->ClassB.Crc32 ) in LoRaMacHandleNvm()
1836 nvmData->ClassB.Crc32 = crc; in LoRaMacHandleNvm()