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.

CC2642R-Q1: About the argument of GATT_InitClient()

Part Number: CC2642R-Q1


Please tell me about the argument of GATT_InitClient ().

We are implementing GATT using CC2642 and SIMPLE LINK-CC13X2-26X2-SDK_5.20.00.52.

Document is defined with an argument of void.
Examples are used with the argument "".

Is void correct for the argument?
Or is the pointer correct with "" (NULL) ?



  • Hi,

    If you are using CCS or IAR compiler, both are corrects. The reason we are using argument "" is because of TI-CLANG compiler. Without this argument, the compiler would throw a warning.

    I hope this will help,

    Best regards,