Change CONFIG_ESB_MAX_PAYLOAD_LENGTH parameter

Hello everyone.

I'm developing on the nRF5340 using nRF Connect SDK. I'm porting an application and I noticed that I need to change the CONFIG_ESB_MAX_PAYLOAD_LENGTH parameter to 252, instead of the default 32. Any guidance on how to achieve so? I tried to write in the Kconfig something like 

config ESB_MAX_PAYLOAD_LENGTH
    int "Maximum payload size"
    range 1 252
    default 252
    depends on ESB
    help
      The maximum size of the payload.
But If I have a look at the build files I notice that it stays 32. Is this approach correct?
Parents Reply
  • Thank you for your reply. That was an option I was thinking about but I was also not sure.

    In my application, ESB runs on the Network core of the MCU, so I'm using the structure of the Multicore example. Should I include the line also on the proj.conf of the Application core (also enabling ESB over there)?

    Also, is there a way to check that the parameter is actually changed in the build I do?

Children
Related