This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2650MODA: How to handle "Execeeding max attribute size" error.

Part Number: CC2650MODA

Hi,

I am using a CC2650MODA as a simple network processor, and a MSP432 as a simple application processor. I am using BLE Device Monitor to test my application.

I have defined an attribute that is 39 bytes in size. I am able to read it okay. However, I am getting an "Execeeding max attribute size" error message when I try to write to it. I need help in figuring out how to fix this issue.

Thanks,

Jeffrey

  • Hey Jeffrey,

    I'm sorry you've run into some trouble, I'm here to help.

    Which project are you basing out of, under which SDK version? If you're using the simple_application_processor for the MSP432, take a look at the simpleProfile_WriteAttrCB function. Once it finds the characteristic id, it checks the length, i.e.

     if (len == sizeof(simpleProfileChar3))

    Is your characteristic value of the correct size?

  • Hi Ammar,
    I am using simplelink_sdk_ble_plugin_1_40_00_42. My project is based on Project Zero.
    It seems to be a problem with the BLE Device Monitor. I am using version 2.9.0.
    My WriteAttrCB function is not getting called for this attribute.

    I am able to write to this same attribute using BTOOL and LightBlue Explorer app with no problems.

    Thanks,
    Jeffrey
  • Thanks for the update.

    BLE Device monitor was based on Btool, but hasn't been updated as we've stopped supporting it. I recommend (as you already are aware) using Btool.