Part Number: CC2650
Hi Team,
Now i am working with cc2650 Ble stack in that the Ble is discovering continuously but i want to make a button interrupt when i press button Ble should discovery it is possible?
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.
Part Number: CC2650
Hi Team,
Now i am working with cc2650 Ble stack in that the Ble is discovering continuously but i want to make a button interrupt when i press button Ble should discovery it is possible?
Yes, it’s possible. You can use the following code to start advertising when interrupt is triggered.
uint8_t advertEnabled = TRUE;
GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),
&advertEnabled);