#include <include/nrf_rpc/rpc_utils/rram_wear_test.h>
Run write/readback verify on a selected remote flash region.
- Parameters
-
| index | Partition index from the array. |
| addr_start | Optional start offset for a custom range (used if addr_end > addr_start). |
| addr_end | Optional end offset (exclusive) for a custom range. |
| force | Must be true for custom ranges or -EPERM is returned. |
- Return values
-
| 0 | on success. |
| -EPERM | if region is custom and force is false. |
| -EINVAL | for invalid arguments or an out-of-bounds custom range. |
| -ENOENT | if the named partition is not present in the build. |
| -ENODEV | if the flash device cannot be resolved for a custom range. |
| Other | negative errno from flash operations, or -EIO on verify mismatch. |
| -EBADMSG | if the RPC response could not be decoded. |