increase and know the max data possible to send

Hello, i'm using the example ble app uart and I would like to know the maximum data that I cand send to my putty and my phone. Could I have to procedure? I would like to send a lot of data 

Thank you in advance

  • Hello, How can i do that?

    "244 is the limit for a single packet. You can however send multiple notifications back to back, to transfer more data. If the connection interval is long enough to accommodate additional packets, and there are additional packets queued for sending, the SoftDevice will send them in the same connection event.
    What types of measurements / data will you be transferring? "

    My frames are 1000 long and some more

  • The send packets is not happening to me and I don't know why when I send  250 bytes it blocked and don't have nothing on the computer with putty and I have a gatt error 

  • Hello Karl,

    How much will you be needing to send?

    is I want to send 1000 data bytes what  data throughput do i need? Thank you :) 

    244 is the limit for a single packet. You can however send multiple notifications back to back, to transfer more data. If the connection interval is long enough to accommodate additional packets, and there are additional packets queued for sending, the SoftDevice will send them in the same connection event.
    What types of measurements/data will you be transferring? 

    i will transfer frames and commands of a product that will send me information. 

    You can send bigger frames, but this will be fragmented by the SoftDevice and sent in multiple packets. How big is the frames you need to transfer?

    I can say between 1000 and 10k of length. 

  • Hello,

    lm said:
    is I want to send 1000 data bytes what  data throughput do i need? Thank you :) 

    1000 bytes is an ok payload, but how fast do you need this transfer to happen?
    For example, does it need to happen within 5 seconds of its generation, or perhaps within 200 ms? This is how you determine your required throughput, since throughput takes into account both the data and transfer speed.

    lm said:
    I can say between 1000 and 10k of length. 

    If you mean that you will need to send 10 kB of data as a single frame then this data will need to be fragmented over multiple packets and connection events.

    lm said:
    The send packets is not happening to me and I don't know why when I send  250 bytes it blocked and don't have nothing on the computer with putty and I have a gatt error 

    Please elaborate on exactly what the error message says.
    What you do mean when you say that 'it blocked'?
    Does your application abruptly reset, for example?

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:

    This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.

    Best regards,
    Karl

  •   I'm showing what I have when I try to send more than 244 bytes

    Hello, I would like to have a fast transfer, 5seconds is okay for 10k data. 

    could you explain to me how to chunk the bytes? I'm new with dev...

    and yes I put the debug options thank you :) 

Related