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

understanding BLE_EVT_TX_COMPLETE

Can we use the tx_complete.count given with BLE_EVT_TX_COMPLETE as an indication on how many packets were sent out from the last ended connection interval?

thank you jing

Parents
  • I am queuing 20-bytes notification pkt via sd_ble_gatts_hvx() until it returns BLE_ERROR_NO_TX_BUFFERS.

    Testing using PCA10000 with MCP as central, i am not able to get BLE_EVT_TX_COMPLETE count of more than 1.

    With the softdevice document describing upto 6 packets per interval, i was expecting to see a larger complete count given that the queue has been maximized (check'd that sd_ble_tx_buffer_count_get() returns 7). Unless, the central device used can only support 1?

    Up to how many packets per connection interval can the PCA10000 with MEFW_nRF51822_0.9.0_firmware support?

    By the way, i am using s110_nrf51822_5.2.1_softdevice.

    Sounds like the issue is indeed the MCP and not the SoftDevice. I have been told the latest MCP firmware severely limits the amount of data that can be transferred.

    Could you try with another central? MEFW 0.8.0, A smartphone or a PC should do.

Reply
  • I am queuing 20-bytes notification pkt via sd_ble_gatts_hvx() until it returns BLE_ERROR_NO_TX_BUFFERS.

    Testing using PCA10000 with MCP as central, i am not able to get BLE_EVT_TX_COMPLETE count of more than 1.

    With the softdevice document describing upto 6 packets per interval, i was expecting to see a larger complete count given that the queue has been maximized (check'd that sd_ble_tx_buffer_count_get() returns 7). Unless, the central device used can only support 1?

    Up to how many packets per connection interval can the PCA10000 with MEFW_nRF51822_0.9.0_firmware support?

    By the way, i am using s110_nrf51822_5.2.1_softdevice.

    Sounds like the issue is indeed the MCP and not the SoftDevice. I have been told the latest MCP firmware severely limits the amount of data that can be transferred.

    Could you try with another central? MEFW 0.8.0, A smartphone or a PC should do.

Children
No Data
Related