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.

CC256XB-BT-SP: return error code definition for GAP_LE_Cancel_Scan() function

Part Number: CC256XB-BT-SP

Where can I find the return error code definitions for the GAP_LE_Cancel_Scan() function, which is defined in GAPAPI.h.

Thanks,

Jun

  • please check in, "BluetopiaCoreAPI.pdf". It is part of the API Documentation in the SDK.

    Return:
    Zero (0) if the scan procedure was successfully started.
    An error code if negative; one of the following values:
    BTPS_ERROR_INVALID_BLUETOOTH_STACK_ID
    BTPS_ERROR_INVALID_PARAMETER
    BTPS_ERROR_INSUFFICIENT_RESOURCES
    BTPS_ERROR_SCAN_ACTIVE
    BTPS_ERROR_GAP_NOT_INITIALIZED
    BTPS_ERROR_LOCAL_CONTROLLER_DOES_NOT_ SUPPORT_LE
    BTPS_ERROR_DEVICE_HCI_ERROR
    BTPS_ERROR_FEATURE_NOT_CURRENTLY_ACTIVE