Open robinkrahl opened 4 years ago
Hi! Good questions! Will check
According to the Nitrokey Storage firmware, the reads are exclusive, hence the values range probably [1].
In my understanding use case is to provide minimum/maximum range, where the data could be safely stored, thus the +1/-1 from the limits. E.g. there are some writes in the beginning of the SD card, in the very first percentile, region 0%-1%
, so the value returned will be 1%
. Value 0%
would not have meaning here.
Maybe could be useful to show that the write has not been executed in this power cycle yet, but this will bring unnecessary complexity.
NitrokeyManager::get_SD_usage_data
function currently only returns the min/max write levels. It could also return the min/max read levels.Also, the documentation should be improved: