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

HIDS Bluetooth Mouse Sample

I'm currently trying to build and run the bluetooth mouse sample code on my nRF9160 DK, but I'm ecountering problems during the build process.

Shortly after hitting the build button, I get hit with an error in a settings_init.c file

it tells me that this has not been declared and won't let the build complete

I am running what I believe are the correct build options

I'm wondering if this is just a warning that is being registered as an error, but am unsure how to proceed.

I'm running windows 10

Parents
  • This error only shows up if you use the partition manager. If you choose the board nrf9160_pca10090 instead of nrf9160_pca10090ns you won't get this errorFor some reason, the defintion PM_MCUBOOT_STORAGE_ID is not generated inside <..>\ncs\nrf\samples\bluetooth\peripheral_hids_mouse\build_nrf9160_pca10090ns\spm\zephyr\include\generated\pm_config.h. I am not sure why this is, but I can look into it if you would like to.

    Best regards,

    Simon

  • So I built it as a secure app, which worked, I was able to flash over to the nRF9160, but I can't get it to connect or even appear in my available bluetooth devices. Furthermore, when I check the Link-Monitor I see that I get this error

    Bluetooth init failed (err-19)

    Please advise.

Reply Children
No Data
Related