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

Data size limitation

Hello All,

I am working nrf51DK and i am using ble_app_uart application with s130 softdevice. Now my query is I am trying to send some data from my mobile application to ble chip(nrf51dk) but when i send more than 20bytes the dk get resets. so is there any limitation on data packet size , if yes how to increase the same?

please advice

thanks in advance pavan

Parents
  • There are certain limitations in the examples but BLE as such as well as Nordic BLE UART Service don't have any limitations which you couldn't overcome. If your chip resets itself then you probably encounter some hard fault or asserted error return from SD API. Please debug your FW, find the line in your code which invokes this assert and fix it.

  • I mean you can send how many 20-byte packets you want and they should arrive to the other side sooner or later in the same order. There is limit of how many Tx packets can be waiting on GATT layer in the queue so if you want to achieve maximum throughput with given PDU and ATT_MTU lengths you need to have also some application buffer(s) to have all these packets ready once SD API allows you to put there more.

Reply
  • I mean you can send how many 20-byte packets you want and they should arrive to the other side sooner or later in the same order. There is limit of how many Tx packets can be waiting on GATT layer in the queue so if you want to achieve maximum throughput with given PDU and ATT_MTU lengths you need to have also some application buffer(s) to have all these packets ready once SD API allows you to put there more.

Children
No Data
Related