Hello everyone, first time discovering BLE overall, Nordic, as well as reaching out on a forum.
Long story short (details are below) : I'm unable to complete the https://docs.memfault.com/docs/mcu/quickstart-nrf5x-ncs Memfault getting started guide using a nRF52840-DK Board.
I'm blocked at the section 3. Connect your device.
Step 3 "Use the "Echo" feature to send a message of "Hello" fails : on my phone, after connecting to my https://www.nordicsemi.com/Products/Development-hardware/nRF52840-DK board, I always receive a "SMP service not found" error, which consequently prevents me completing this getting started guide to discover Memfault.
Device Status information I have is as follows :
- Bonding Status : Bonded
- SMP Service : Unsupported
- Buffer detail, Bootloader name, Bootloader mode, Active B0 slot, Kernel : all N/A
- OTA : Unsupported
- Observability : Streaming
I followed the above quickstart page, the only difference I have lies in the log showcased by the "Serial terminal output showing reset and Bluetooth advertising logs" picture.
The guide has :
*** Booting nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
Reset Cause : Pin Reset / 0x0001
Starting Bluetooth Memfault sample
Bluetooth initialized
Advertising successfully started
[time stamp] <inf> mflt : blablabla
While I have :
*** Booting nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
I DONT HAVE THIS LINE >>> Reset Cause : Pin Reset / 0x0001
Starting Bluetooth Memfault sample
Bluetooth initialized
Advertising successfully started
I DONT HAVE THIS LINE >>> [time stamp] <inf> mflt : blablabla
And after I connected to the board with my phone, addition logs are displayed :
uart:~$ Connected 2C:78:0E:15:01:A6 (public)
Security changed: 2C:78:0E:15:01:A6 (public) level 2
Security changed: 2C:78:0E:15:01:A6 (public) level 2
I followed the guide, prj.conf is updated accordingly, meaning that I do have the SMP field and have updated the two other fields :
- CONFIG_BT_SMP=y
- CONFIG_BT_DIS_HW_REV_STR="nrf52840dk" # Set to your board, eg "nrf5340dk"
- # --- Memfault configuration --- #
️ Make sure to update this line with YOUR Project Key from https://mflt.io/project-key! CONFIG_MEMFAULT_NCS_PROJECT_KEY="<my key here>"
If you have any ideas or advice, I gladly accept them.
I think I have 2 problems but I'm not sure : 1. SMP returns an error, 2. I don't have the log memfault log like in the example but don't know why
Thank you