Hi @pb632146
You are supposed to configure your Fee Blocks in the configurator like this:
lukaszadrapa_0-1737120178679.png
One Fee Block is a record which you will update when calling Fee_Write function.
The size can be set from 1 - 65535 bytes:
lukaszadrapa_1-1737120253446.png
The maximum 65535 is theoretical value only, it's limited by sector size. But Fee is usually used for small blocks of data, so it doesn't matter. You can use any size.
And you are simply passing pointer to uint8. It doesn't matter what kind of arrays or data structure you have, you just need to pass the pointer.
lukaszadrapa_2-1737120395177.png
In case of Fee_Read, you are also just passing uint8 pointer. In addition, you are allowed to read only part of the record - this is specified by offset and length:
lukaszadrapa_3-1737120527301.png
Regards,
Lukas