Only able to send single message from central to peripheral nus_data_handler() though connection is still valid, please help.

Hello in my app I based it on the BLE UART example and have it pretty much up and running but I need to be able to send multiple messages from the Central to the Peripheral and for some reason after the first message I send, using the NRF Connect App, I cannot send a 2nd. I am using SDk 17.1 in SES. I tried using the example project and can send multiple messages without issue, what might be stopping me from sending a 2+ messages though I still have an active connection?

Thank you

  • Hi Matt, 

    Could you let me now what exactly the issue you have when you send the 2nd message ? Which error you have ? 
    You mentioned this

    I tried using the example project and can send multiple messages without issue

    I assume the example project is the ble_peripheral_uart on the nRF52 not the example project of the phone's app ? 

    What was the modification you added to your project ? 
    I would suggest to capture a sniffer trace so that we can investigate further. 

Related