This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with pstorage module

Hi, In my custom project I need to add two 128-bit uuid services and also I need to use pstorage to protect the application data from power loss. But I got the problem is when I write data to pstorage using pstorage_store() it returns NRF_SUCCESS but when I am checking pending operation it still gives 1 and blocking in it. when I add only one 128-bit service uuid I don't get these problem. I am using SDK nRF5_SDK_11.0.0_89a8197 and the code where it is blocking is shown below image description can any one help me to solve these problem. And also I have a doubt that in softdevice_handler.c file vs_uuid_count is set to 1. So I changed to 2 bcz I am two 128-bit uuid services if vs_uuid_count=1 their is no pending operations from pstorage is their any problem?

Related