Not able to receive data more than 20 bytes in BLE characteristic

Hi

I am using nrf Connect sdk 2.9.0 Visual Code IDE.I have added the following configuration in the prg.conf file:

CONFIG_BT_USER_DATA_LEN_UPDATE=y
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_L2CAP_TX_MTU=247

But still I am not asble to receive more than 20 bytes of data from android mobile app. I want to increase my data length to receive maximum of 64 bytes..

Thanks and Regards

Parag

Parents
  • Hello,

    I suggest you run through the Bluetooth Low Energy Fundamentals course on Nordic DevAcademy. Particularly Lesson 3 Exercise 2 is relevant for this question. It looks like you have all the configs in place, but you also need to implement this (which is a sort of negotiation) in your application. 

    Let me know if you are stuck.

    Best regards,

    Edvin

Reply
  • Hello,

    I suggest you run through the Bluetooth Low Energy Fundamentals course on Nordic DevAcademy. Particularly Lesson 3 Exercise 2 is relevant for this question. It looks like you have all the configs in place, but you also need to implement this (which is a sort of negotiation) in your application. 

    Let me know if you are stuck.

    Best regards,

    Edvin

Children
No Data
Related