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 Children
  • lm said:
    - from PHONE to my COMPUTER :

    Yes, I think I understand your issue.

    lm said:
    my problem is that I'm new with dev and making chunk is not easy so I showed earlier my idea and I would like to have your opinion about this function and where I should put it thank you again

    Yes, you showed me some code for the nRF device, however as I mentioned the issue is not with the nRF device itself - the BLE protocol has a maximum byte limit per packet, and thus you can not just change a configuration to allow larger packets.
    Instead, you will need to work with this requirement on your phone's side, by fragmenting the message into pieces that does not exceed the BLE limit.

    In essence; your nRF BLE UART device is working as intended, the issue is just that each message from your phone can not exceed the BLE packet limit, and so you must divide the message into chunks that fit into the BLE packet limit.
    The nRF Connect application can not do this for you, unfortunately, so you will have to find a way to have this done - either by doing it manually yourself using the nRF Connect application (not feasible), or by creating an application on your phone that fragment and send data to your connected BLE UART device sequentially.

    Best regards,
    Karl

  • lm said:
    Thank you so much for your help. :) 

    No problem at all, I am happy to help you! :)

    Please do not hesitate to open another ticket if you encounter any other issues or questions in the future.

    Good luck with your development!

    Best regards,
    Karl

Related