This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can't receive RX data in nus_data_handler - Error 128 (0x80)

Hello Nordic,

I'm trying to run nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart (PCA10056, S140 softdevice) with default sdk_config.h. The master is nRF Connect app installed on 3 different Android phones:

* Samsung J5 with Android 7

* Samsung A40 with Android 9

* Samsung S10 Lite with Android 10 (updated to 11)

For J5 and A40 i'm able to handle all events in nus_data_handler and application works as expected. The issue occurs for S10 Lite when writing data to characteristic (the value is single byte!). I'm getting Error 128 (0x80): GATT NO RESOURCES in the app logs. I've changed MTU on BLE_GATT_ATT_MTU_DEFAULT (23) but it didn't solve the issue. I still can't recevie data from S10 in nus_data_handle. Additionally, I've launched sniffer and prepared appropriatelogs for J5 and S10 phones in WireShark. Any ideas how to fix it? Thanks!shark_write_s10_failed.pcapngshark_write_j5_success.pcapng

Parents
  • Hi

    We just tested this on our side on a Samsung S10 lite (Android v11) and nRFConnect, and were not able to recreate a "NO RESOURCES" error I'm afraid (I also tested on my personal Nokia 8.1, no issues there either).

    Could it be that the memory on your Samsung phone is full (or very near full) which causes it to not be able to receive more data? Please try deleting an app or some files that are unnecessary and check again. As Aleksander said in the case I linked to, it could also be due to too many connections, could that be it?

    Best regards,

    Simon

Reply
  • Hi

    We just tested this on our side on a Samsung S10 lite (Android v11) and nRFConnect, and were not able to recreate a "NO RESOURCES" error I'm afraid (I also tested on my personal Nokia 8.1, no issues there either).

    Could it be that the memory on your Samsung phone is full (or very near full) which causes it to not be able to receive more data? Please try deleting an app or some files that are unnecessary and check again. As Aleksander said in the case I linked to, it could also be due to too many connections, could that be it?

    Best regards,

    Simon

Children
Related