8 years, 2 months ago.

Trouble sending all notifications

I am having an issue when I send notifications from the nrf51 to the client. Specifically I have 10 notifications that need to be sent but after the fourth notification all others fail to send. I know this because I have one of the leds set to turn on every time the call to write(notify) returns anything besides BLE_ERROR_NONE. I have been trying to fix this for quite a while without any success. Any help in solving this would be greatly appreciated.

Edit: I've posted my main.cpp for anyone to look at and see if they can find what's wrong.-> /media/uploads/npe5/main.cpp

I have set up a function that checks the status of the error returned and flashes an led the number of times that corresponds with a specific error. It flashes once for each packet that fails which tells me that it is signifying a BLE_ERROR_BUFFER_OVERFLOW error.

posted by Nathan Earley 11 Feb 2016
Be the first to answer this question.