RE: CC2642R: IAR compile error when running XDC Tools

Hi,

I've updated my project to SDKV3.40,  CC2642R: IAR compile error when running XDC Tools 

I find that the CHAR Device Name and Appearance are only writable, and also I ran the example project simple_peripheral, the result is the same, how can I enable the readable property? 

The project use  GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, attDeviceName) to set device name. It seems that SDK set the property to writable.

  • Hello,

    Thank you for reaching out! This is a really good question! To modify the properties of the characteristics, you will have to go to the gapgattserver.c file located in the sdk at the following location: source/ti/ble5stack/host, and modify the gatt table to reflect what you want it to do.

    I hope this answers your question!

    Best Regards,

    Tarek D