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

Support for ble_app_uart example

Hello, i am using ble_app_uart example. i am trying to send A to Z from ble to uart. Has i noticed, it is transferring 20 characters at a time.  to make sure that i add print statement  it nus_data_handler, i got A to T then U to Z.. please help me to increase the size to get A to Z. Please refer the screenshots below.

Parents
  • It's receiving 20 characters at a time. You can receive larger packets if the central support long MTU (>23bytes - actual payload is MTU - 3 bytes). Which SDK version are you using, and do you know if you central supports long MTU? 

    The ble_app_uart example in SDK 15.2.0 will request a 247 byte MTU by default which means that you can receive up to 244 bytes in one packet. 

Reply
  • It's receiving 20 characters at a time. You can receive larger packets if the central support long MTU (>23bytes - actual payload is MTU - 3 bytes). Which SDK version are you using, and do you know if you central supports long MTU? 

    The ble_app_uart example in SDK 15.2.0 will request a 247 byte MTU by default which means that you can receive up to 244 bytes in one packet. 

Children
No Data
Related