Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 6 months ago.
(nrf51822): gattServer().write to Notify characteristic return BLE_STACK_BUSY error
Hi everybody!
I have a problem with BLE on nRF51822.
My demo using mbedOS 5. I set nRF51822 with BLE communication, 2 characteristic. 1 WRITE_WITHOUT_RESPONSE and 1 NOTIFY. I send data to Mobile by ble.gattServer().write function. I want to send 7 packets (20 bytes / 1 packet) from nRF51822 to Android phone. From packet 1 to 6, everything is ok. But with the 7th packet, nRF51822 return BLE_STACK_BUSY(5). I tried using delay function after write function, but the result is still not ok.
Many thanks for your watching.