Hi
I want to set the dongle cc2540 in the discovery mode when the dongle recieve the event of terminate link but i don't know how i can do it .
if(pGapDevDiscEvent->opcode == GAP_LINK_TERMINATED_EVENT)
{ //how i can put the dongle in the discovery mode
HalLedSet(HAL_LED_2, HAL_LED_MODE_OFF);
}
Best Regards