Continuous Scan BLE Devices MC60E

Hello,
How to continuously scan for BLE devices using Opensda SDK.

    Ql_sprintf(strAT, "AT+QBTGATCSCAN=1,\"B001\"");
    ret=Ql_RIL_SendATCmd(strAT, Ql_strlen(strAT),ATRsp_BLE_SCAN_Hdlr , (void *)in_addr, 5000);

These commands do scan for devices but only once and not continuously. how can i do the same

Thanks and Regards
Sagar

Resolved the issue. Returning “RIL_ATRSP_CONTINUE” keeps the handler waiting for events continuosly and devices are scanned continuously.