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

NRF52832 NUS data transfer

Hello support,

Currently i'm working with one application using NRF52832.

in which i have to fetch data from coming from PIC controller to NRF52832 over UART communication and same time i have to transfer the data to BLE android app.

The requirement is that within 1 second transfer 256 packets of 33 bytes frame coming from PIC controller to BLE android application.


Currently i'm trying with NUS service but i'm not able to transfer whole data within 1 second.so i need help to transfer whole data within a second.

Thanks.

Parents
  • Hi

    What are your connection parameters and data length settings?

    In order to maximize throughput you want to use a short connection interval, like 15ms, and a long data length so that you can send longer packets. 

    Most phones should allow you to send 256 33-byte packets in one second, but if the phone allows you to use a longer data length you will get even faster throughput by combining multiple 33-byte packets in one BLE packet, since there is some overhead for every single packet. 

    The maximum data length available allows for 244 data bytes in one packet, which is enough for at least 7 33-byte payloads, but it can vary from phone to phone what data length it will support. 

    Best regards
    Torbjørn

  • Thanks ,Can you please tell me which file contains connection interval.
    because i'm not able to find.so please help me to get this.

Reply Children
Related