7 Replies Latest reply on Oct 29, 2018 11:56 PM by PY_21

    PSoC 6 BLE peripheral advertising multiple profiles

    KaSi_1722081

      How can I get PSoC6 BLE component to advertise multiple profiles in peripheral role?

      Each profile has it's own advertisement and scan response data and the GATT DB is composed of services of those profiles.

       

      Starting off CE217637, I added another peripheral configuration (see screenshot attached) in the BLE component.

       

      In AppCallBack() case CY_BLE_EVT_GAP_DEVICE_DISCONNECTED, added the line to start advertising for this newly added peripheral configuration.

      Cy_BLE_GAPP_StartAdvertisement(CY_BLE_ADVERTISING_FAST, 1).

      When the program is run, the above API does not return.

       

      I am new to PSoC-6, hence appreciate the help.