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

Parents Reply
  • lm said:
    send unlimited data/informations (maybe 100k of data) how can i do this?

    Please specify what you mean by this. Knowing how much data you are sending is one thing, but you also need to specify how fast the data needs to be sent.
    The table in the documentation shows you the maximum throughput that you realistically can achieve.
    What throughput in kbps does your application require?

    Best regards,
    Karl

Children
  • Okay, thank you for your fast reply. I'm using the Ble app uart and I don't know about the kbps... 

    What I can see for now is that I can have 244 characters on my phone or putty and I would like to have a lot more.

    and I actually saw the MTU size and data length etc in this code but Do I have to increase this?

    Do I have to create different packets?

    I'm actually lost because I don't know the limits of characters that I can send. What I meant before was to send a ton of characters without any limitation because we have frames that are big.

    Thank you :) 

  • lm said:
    Okay, thank you for your fast reply.

    No problem at all, I am happy to help!

    lm said:
    I'm using the Ble app uart and I don't know about the kbps... 

    How much will you be needing to send?
    I recommend that you try to make an estimate, to see if it is feasible for BLE transfer.
    For example, if you intend on sampling the SAADC with 12 bit resolution every 1 ms you will need 2 kbps throughput.

    lm said:
    What I can see for now is that I can have 244 characters on my phone or putty and I would like to have a lot more.

    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?

    lm said:
    What I meant before was to send a ton of characters without any limitation because we have frames that are big.

    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?

    Best regards,
    Karl

  • 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. 

Related