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, 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,
To increase your throughput you will need to modify your connection parameters.
Please see the throughput documentation for the SoftDevice you are using for details about which parameters you should use for maximum throughput.
Best regards,
Karl
Hello Karl, i saw this document but i'm going to explain to you my goal : send unlimited data/informations (maybe 100k of data) how can i do this? because for now I have a limit of 244 bytes/data and it is not useful for me. Thank you in advance
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
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
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