I have two variants of a Blood Pressure cuff (a proprietary protocol). One supports stored data and the other does not. When I build and flash the stored-data variant and the client does not delete them after upload, the stored data is saved in flash. Now I switch to the no-stored-data variant and build and install that. The stored data does not get sent, but it is still present in flash.
Why is that the case? It seems ripe for bugs when I try and install a different device variant, such as a spirometer.
Oh, the SoftDevice being used here is S140 latest version. The SDK is the latest, but SoftDevice is used for all BTLE and Flash write options. The Segger IDE version info is as below:
SEGGER Embedded Studio for ARM Release 6.40 Build 2022102501.51567 Windows x64 © 2014-2022 SEGGER Microcontroller GmbH © 1997-2022 Rowley Associates Ltd. segger-as: version 2.11 segger-cc: version 15.0.0 segger-ld: version 4.36.0 segger-rtl: version 4.20.0 GCC/BINUTILS: built using the GNU ARM Embedded Toolchain version 11.3.Rel1 source distribution Clang/LLVM: built using the version 15.0.0 source distribution