it register a handler, what about restart and run pstorage_register again, how it insure everytime we get the same address for our content in the flash? before pstorage_register, we use flash_io, which we know the address, so no problem to access the right place in flash, so pstorage_register ensures the correct address by order of calling pstorage_register?
and PSTORAGE_MAX_APPLICATIONS, seems not for application, but defines how many pages we use? is there a max number of pages we can use? how to find out this number for nrf51822-xxaa-s110? as I recalled, 16k for softdevice, and size of app(how to find the size of app in the device?) anything else will take space?
Thanks!