1 Reply Latest reply on May 21, 2019 1:48 AM by GyanC_36

    BLE stack error

    kadhc_4169486

      While starting BLE I am getting API error as 0x160015. I am unable to start BLE stack. What this error code means?

        • 1. Re: BLE stack error
          GyanC_36

          Hi Kavita,

           

            The BLE API error codes are mentioned in cy_ble_stack.h file as a part of enum cy_en_ble_api_result_t.  To find out exact error code corresponding to 0x160015, you need to do some maths and get the exact value as the enum values are not continuous.

           

          The other option is , since I assume that the mentioned error code is the return value of API Cy_BLE_Start() API and basically this API returns four values as mentioned in API declaration. You can check these values using 'if- else' or 'case' statements.

           

          Also, you can refer our code examples for BLE implementation from below link  ( CE212736)

           

          https://www.cypress.com/documentation/code-examples/psoc-6-mcu-code-examples

           

           

          -Gyan

          1 of 1 people found this helpful