Migration Guide¶
Updating from previous SDKs¶
Porting Guides¶
Porting guides are for incremental changes from previous SDKs.
Migration Guides¶
Migration guides are used to migrate major changes, e.g. from one device or configuration to another.
Note
The F3 SDK 8.40 introduces the RNG Health Check functionality: the RNG driver random number generation APIs will now perform an entropy check and not generate any output if the entropy is not within acceptable ranges; in such case random number generation should be re-attempted. This could cause existing implementations of RNG to not work as expected.
for(int i = 0; i < n; i++) //n should be set to at least 5 or 10
{
rclStatus = RCL_AdcNoise_get_samples_blocking(localNoiseInput, RNGLPF3RF_noiseInputWordLen);
// Initialize the RNG driver noise input pointer with global noise input array from user //
rclStatus = RNGLPF3RF_conditionNoiseToGenerateSeed(localNoiseInput);
if(rclStatus = 0)
{
//RNG driver has succeeded generating a number
break;
}
else if(i == (n-1))
{
//error handling, report error here
}
}