Sorry for messing up my messages on the forum.
I will try to remember, unfortunately not the first time, I will do my best to do better in the future.
Anyway thanks for pointing me in the right direction.
I'm still getting familar with Zephyr and also with Bluetooth LE.
Programming in different languages (C / C++) and platforms(Linux / Zephyr) makes it not easier, anyhow we love the challenges as SW developer :).
Ok, I will have a look at the Peripheral example and see how to continue with finalizing my BLE implementation on Zephyr.
Thanks again for your feedback and I will keep the forum informed on the progress I'm making.
Van: Hedberg, Johan <johan.hedberg@...>
Verzonden: dinsdag 5 februari 2019 20:45:06
Aan: Vieren Frank
Onderwerp: Re: [Zephyr-devel] Pairing/bonding Zephyr API? Pairing info?
Please try not to use any “edit” feature on the mailing lists web-interface. It makes it very difficult to understand what’s going on when reading your emails with a normal email client.
> On 5 Feb 2019, at 19.48, frv <F.Vieren@...> wrote:
> When I run make menuconfig,
> BT_SETTINGS(=n) "Store Bluetooth state and configuration persistently"
> I can't seem to get this to y(es).
> When entering it "Store Bluetooth state and configuration persistenly (NEW) is in red. And nothing can be selected
> Probably need to first get the Disk/Flash configured
Yes, you need to have flash and the settings subsystem enabled. Simplest is probably to look at any of the existing Bluetooth samples that already successfully use BT_SETTINGS. E.g. samples/bluetooth/peripheral is one such sample. peripheral_hr is (unfortunately) not. Note that even after enabling the Kconfig options you’ll also need to update your app to make a call to settings_load() after calling bt_enable(). Take a look at how and where the peripheral app does this in its main.c. As for the Kconfig options, I believe the following from the peripheral app’s prj.conf are the necessary options, assuming you’re ok with the FCB backend (there’s also an NFFS one):