How to increase the MTU size in NRF52833?

I have tried the below in proj.conf.iam using NRF52833 DK in VS CODE(NRF SDK Connect extension.Iam trying to receive data through gatt protocol,but it is not receiving more than 20 bytes.

toolchain version 2.8

also my build log showing ...

Memory region         Used Size  Region Size  %age Used
           FLASH:      203344 B       248 KB     80.07%
             RAM:       29188 B        32 KB     89.07%
        IDT_LIST:          0 GB        32 KB      0.00%

according to datasheet..512 KB Flash + 128 KB RAM for NRF52833DK.but the build log showing only 32kB of RAM,248kB of Flash.why?

CONFIG_BT_USER_DATA_LEN_UPDATE=y
CONFIG_BT_L2CAP_TX_MTU=247
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=251
Parents Reply Children
  • Thank you for the quick reply,i dont know how i missed the lesson.

  • Memory region         Used Size  Region Size  %age Used
               FLASH:      203344 B       248 KB     80.07%
                 RAM:       29188 B        32 KB     89.07%
            IDT_LIST:          0 GB        32 KB      0.00%

    Build Board target: NordiC Kits.

    according to datasheet..512 KB Flash + 128 KB RAM for NRF52833DK.but the build log showing only 32kB of RAM,248kB of Flash???

    i cannot extend the payload size more than 62 bytes.

    also when i used this below config iam facing ram is overflowing error.

    i only used CONFIG_BT_USER_DATA_LEN_UPDATE=Y in proj.conf,then mtu size extend to 62 bytes.but i need to extend it upto 247 bytes atleast.

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