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

NRF_ERROR_INVALID_ADDR in ble_uart_example / SDK 14.2.0

Hello,

i'm trying to run the ble_uart_example on my nRF52840 eval-board, but it always fails on this line:

err_code = ble_advertising_init(&m_advertising, &init);
APP_ERROR_CHECK(err_code);

It fails by reporting this error message on the RTT Viewer:

0> <error> app: ERROR 16 [NRF_ERROR_INVALID_ADDR] at ..\..\..\main.c:635

My setup:

  • nRF52840 Eval-board (PCA10056)
  • S140 Softdevice Version 5.0.0-3.alpha (6.0.0-6.alpha same issue)
  • nRF SDK 14.2.0

It seems like there is an issue with sd_ble_gap_adv_data_set(...), but i can't find out why it is failing. The parameter-pointers are existing and point to an existing array.

Thanks.

Kevin

Related