I am developing a ble program for the nrf51 DK using mbeds api and it is supposed to send 11 packets (notifications) when written to a specific handle. So far it works, but only up to four packets and then stops abruptly. I have programmed the leds to flash the number times respective to the error that is happening and it flashes once signifying a buffer overflow. I'm assuming that it has something to do with an outgoing packet queue, but can't find anywhere in the mbed api or the nordic sdk that this would be at. I'm sorry if this seems trivial but this is my first time programming on an embedded device so any help would be greatly appreciated. My soft device is s130.