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.

CCS/CC2650: Usage of GAPRole_GetParameter function

Part Number: CC2650
Other Parts Discussed in Thread: CC2640

Tool/software: Code Composer Studio

Hi,

I want to get advertising status of BLE device. I have used following code to get status

    char status, value;
    status = GAPRole_GetParameter(GAPROLE_ADVERT_ENABLED, &value);

This would get value of Parameter GAPROLE_ADVERT_ENABLED variable, correct?

Is this correct way of usage?

Thanks