Hello all, I am getting an error "No Memory for operation" while initializing connection parameters for nrf51822 application. Can somebody please advice me about this error and about handling memory carefully?
Hello all, I am getting an error "No Memory for operation" while initializing connection parameters for nrf51822 application. Can somebody please advice me about this error and about handling memory carefully?
Can you please provide a bit more information? Which call/module-init gives you this error code?
err_code = ble_conn_params_init(&connection_params_init);APP_ERROR_CHECK(err_code); In this call the error code was NRF_ERROR_NO_MEM.
The call to "ble_conn_params_init" will start a one-shot timer to handle the CCCD negotiation. This indicates that you do not have enough memory set a-side for the app_timer module. Try adding +1 to define "APP_TIMER_MAX_TIMERS" and see if it works.
I had one more doubt regarding errors. I was getting NRF_ERROR_BUSY error. It occurs when i enable services in master control panel. I have two services with characteristic having indication property. So when first CCCD write happens then just after that I get this error.
I am getting this error as well on the Eval Board, but not my Dev Board. I was trying to set the ble_gap_conn_params_t p_conn_params* to my applications preferred Idle parameters. However on the Eval Board this throws either hard fault error or the err_code = 4 on line 355 of app_timer.c. No issues with the Dev Board. As a result I've had to set the F/W to p_conn_params = NULL to assure that it works on the Eval Board. This is a bizarre error.