The Bluetooth® Configurator generates code into a

GeneratedSource

directory in your Eclipse IDE application or into the specified location for non-Eclipse IDE applications. That directory contains the necessary source (.c) and header (.h) files for the generated firmware, which uses the relevant driver APIs to configure hardware. The user configuration is saved to the *.

cybt

file.

Option1

  • design.cybt

    – Contains an XML representation of the configuration; you may specify any file name

  • cycfg_gatt_db.h

    and

    cycfg_gatt_db.c

    – Contain the GATT database code., include

    cycfg_gatt_db.h

    in your application

  • cycfg_sdp_db.h

    and

    cycfg_sdp_db.c

    – Contain the SDP database code, include

    cycfg_sdp_db.h

    in your application.

Option2

  • design.cybt

    – Contains an XML representation of the configuration. You may specify any file name.

  • cycfg_gatt_db.h

    and

    cycfg_gatt_db.c

    – Contain the GATT database code. Include

    cycfg_gatt_db.h

    in your application.

  • cycfg_gap.h

    and

    cycfg_gap.c

    – Contain the GAP configuration code.

  • cycfg_bt_settings.h

    and

    cycfg_bt_settings.c

    – Contain the

    wiced_bt_cfg_settings_t initialization

    structure. Two sets of structures are generated (using the

    #if

    directive): compatible with BTSTACK 2.X and BTSTACK 3.X. Include

    cycfg_bt_settings.h

    in your application.

Option3

  • design.cybt

    – Contains an XML representation of the configuration. You may specify any file name.

  • cycfg_gatt_db.h and cycfg_gatt_db.c

    – Contain the GATT database code. Include

    cycfg_gatt_db.h

    in your application.

  • cycfg_gap.h

    and

    cycfg_gap.c

    – Contain the GAP configuration code.

  • cycfg_bt_settings.h

    and

    cycfg_bt_settings.c

    – Contain the structures necessary to initialize wiced_bt_cfg_settings_t structure. The structure

    wiced_bt_cfg_settings_t

    itself is not generated. Include

    cycfg_bt_settings.h

    in your application.

  • cycfg_bt_settings.h

    and

    cycfg_bt_settings.c

    – Contain the structures necessary to initialize the

    wiced_bt_cfg_settings_t

    structure, which consists of names starting with

    cy_ prefix

    . Use either a complete generated

    cy_bt_cfg_settings

    structure or any of the generated inner structures to create customized configuration. Include

    cycfg_bt_settings.h

    in your application.

  • cycfg_sdp_db.h

    and

    cycfg_sdp_db.c

    – Contain the SDP database code, include

    cycfg_sdp_db.h

    in your application.

Option4

  • design.cybt

    – Contains an XML representation of the configuration. You may specify any file name.

  • cycfg_ble.h

    and

    cycfg_ble.c

    – Contain the generated C code. Include the header file in your application. Use the generated structures as input parameters for the

    Cy_BLE_Init()

    function. Refer to the "Configuration Considerations" section in the Bluetooth® Low Energy Middleware API reference guide for more details about how to initialize and enable the Bluetooth® Middleware.