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

ERROR 4 [NRF_ERROR_NO_MEM] in nRF52832

I'm using nRF52832 SDK board with softdevice s132_nrf52_5.0.0. The error appears when I try to load it to the board, right on line 1247 where it initializes the NUS service (nordic uart service).

static void services_init(void){
  ret_code_t      err_code;
  ble_nus_init_t nus_init;

  memset(&nus_init, 0, sizeof(nus_init));
  nus_init.data_handler = nus_command_handler;

  err_code = ble_nus_init(&m_nus, &nus_init);
  APP_ERROR_CHECK(err_code); //*** error here

The program is ble_app_hrs_rscs_relay_pca10040_s132 that I'm trying to adapt to use NUS service with the smartphone.

Thanks.

Related