SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
Loading...
Searching...
No Matches
cycfg_connectivity_bt.h
Go to the documentation of this file.
1/*******************************************************************************
2 * File Name: cycfg_connectivity_bt.h
3 *
4 * Description: Minimal stub of the Bluetooth Configurator output expected by
5 * cybsp_bt_config.c. Defines low-power mode flag and version
6 * macros that the BSP glue includes at build time.
7 *
8 * In a full ModusToolbox flow this file is generated by the
9 * Bluetooth Configurator GUI from a .cybt design. Since we
10 * describe the NUS GATT DB manually in nus_gatt_db.{c,h}, this
11 * stub only needs to satisfy BSP compilation.
12 *
13 * Scope: proj_cm33_ns build only, guarded by COMPONENT_WICED_BLE.
14 *
15 *******************************************************************************/
16
17#ifndef CYCFG_CONNECTIVITY_BT_H
18#define CYCFG_CONNECTIVITY_BT_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/* Low-power mode (HCI flow control sleep). CYW55500 supports LPM on the
25 * BT_HOST_WAKE / BT_DEV_WAKE GPIO pair defined in the BSP pin config. */
26#ifndef CYCFG_BT_LP_ENABLED
27#define CYCFG_BT_LP_ENABLED (1)
28#endif
29
30/* Platform config identifier reported by the BT stack in diagnostics.
31 * Any non-zero value is accepted; this matches the Configurator default. */
32#ifndef CYCFG_BT_CONFIGURATOR_VERSION
33#define CYCFG_BT_CONFIGURATOR_VERSION (1)
34#endif
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* CYCFG_CONNECTIVITY_BT_H */