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

pstorage RAW & device manager

Hello,

In my application I'm using SDK 8.1 with the s110 SoftDevice. In the new version, the pstorage modules have been separated and you need to choose between them. As I need full control over the flash memory, I'm using the pstorage_raw but I want to have the Device Manager capabilities for bonding with a static passkey. The problem I found is that Device Manager uses the normal version of pstorage, which I can't include on my project because now they conflict.

What should I do?

Parents
  • just use the pstorage.c file in your project. This contains code for both raw and normal operations. The new file pstorage_raw.c has function names different but does the same raw operations which pstorage.c file can do (Just take care of the names)

    Also note that pstorage.c in SDK8.1 is exactly same as of that one in SDK8.0, so using raw and non-raw mode together should be safe.

Reply
  • just use the pstorage.c file in your project. This contains code for both raw and normal operations. The new file pstorage_raw.c has function names different but does the same raw operations which pstorage.c file can do (Just take care of the names)

    Also note that pstorage.c in SDK8.1 is exactly same as of that one in SDK8.0, so using raw and non-raw mode together should be safe.

Children
Related