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

BLE 5.0 Pairing Problem throughput test with Galaxy S8

Hello, I have a discovery issue that seemingly only happens with the Samsung Galaxy S8.

I want to throughput test BLE5.0(2Mbps).

I using the nRF52832(BMD-300) with SoftDevice S132 SDK 15.2.0, and programmed examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput

Other mobile can pairing BMD-300 and Samsung Galaxy Tab2. but Galaxy S8 doesn't find Service list(not pairing).. 

How can i resolved this problem?

  • Hello,

    This example is not really intended to connect to a phone. It is not a standard service, and the reason that you are probably not seeing any services is that the example works both as a central and a peripheral.

    Try to use one of the other examples, e.g. the ble_app_uart. This is an example that will have the settings pretty optimized for throughput. You might want to change to PHY = 2Mbit, which you can request in the CONNECTED event in main.c.

    If you want to test the throughput,  you should continuously trigger ble_nus_data_send() in your main() function. You can call this again, as long as it returns NRF_SUCCESS. When it returns NRF_ERROR_RESOURCES, it means that the buffer is full, and you must wait for the TX_COMPLETE event before you will be able to queue new packets. Use this event to signal to the main() function that you can trigger new samples. Also, use large packets to reduce the overhead.

    This is probably not very well explained, but there are a lot of questions with good answers about this on devzone. Search for "ble_app_uart throughput", and you should find some relevant information. If not, let me know. You can start here:

    https://devzone.nordicsemi.com/f/nordic-q-a/28522/how-to-make-uart-throughput-match-that-of-att_mtu

    Best regards,

    Edvin

Related