|
@@ -1,50 +1,52 @@
|
|
|
|
|
|
|
|
# Kconfig file for package BTSTACK
|
|
# Kconfig file for package BTSTACK
|
|
|
menuconfig PKG_USING_BTSTACK
|
|
menuconfig PKG_USING_BTSTACK
|
|
|
- select RT_USING_LIBC
|
|
|
|
|
|
|
+ select RT_USING_LIBC if RT_VER_NUM < 0x40100
|
|
|
|
|
+ select RT_USING_POSIX if RT_VER_NUM < 0x40100
|
|
|
|
|
+ select RT_USING_POSIX_FS if RT_VER_NUM >= 0x40100
|
|
|
select RT_USING_PTHREADS
|
|
select RT_USING_PTHREADS
|
|
|
- select RT_USING_POSIX
|
|
|
|
|
select RT_USING_POSIX_TERMIOS
|
|
select RT_USING_POSIX_TERMIOS
|
|
|
bool "BTSTACK: embedded btstack"
|
|
bool "BTSTACK: embedded btstack"
|
|
|
default n
|
|
default n
|
|
|
|
|
|
|
|
if PKG_USING_BTSTACK
|
|
if PKG_USING_BTSTACK
|
|
|
- config _GNU_SOURCE
|
|
|
|
|
- int
|
|
|
|
|
- default 1
|
|
|
|
|
- config HAVE_DIRENT_STRUCTURE
|
|
|
|
|
- int
|
|
|
|
|
- default 1
|
|
|
|
|
- config HAVE_DIR_STRUCTURE
|
|
|
|
|
- int
|
|
|
|
|
- default 1
|
|
|
|
|
-
|
|
|
|
|
|
|
+ if RT_VER_NUM < 0x50200
|
|
|
|
|
+ config _GNU_SOURCE
|
|
|
|
|
+ int
|
|
|
|
|
+ default 1
|
|
|
|
|
+ config HAVE_DIRENT_STRUCTURE
|
|
|
|
|
+ int
|
|
|
|
|
+ default 1
|
|
|
|
|
+ config HAVE_DIR_STRUCTURE
|
|
|
|
|
+ int
|
|
|
|
|
+ default 1
|
|
|
|
|
+ endif
|
|
|
config PKG_BTSTACK_PATH
|
|
config PKG_BTSTACK_PATH
|
|
|
string
|
|
string
|
|
|
default "/packages/iot/btstack"
|
|
default "/packages/iot/btstack"
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+if PKG_BTSTACK_VER_NUM >= 0x10000
|
|
|
# btstack office config
|
|
# btstack office config
|
|
|
menu "BTSTACK stack config"
|
|
menu "BTSTACK stack config"
|
|
|
config ENABLE_LOG_ERROR
|
|
config ENABLE_LOG_ERROR
|
|
|
bool "btstack error log support"
|
|
bool "btstack error log support"
|
|
|
default y
|
|
default y
|
|
|
help
|
|
help
|
|
|
- This option log error support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option log error support.
|
|
|
|
|
+
|
|
|
config ENABLE_LOG_INFO
|
|
config ENABLE_LOG_INFO
|
|
|
bool "btstack info log support"
|
|
bool "btstack info log support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option log info log support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option log info log support.
|
|
|
|
|
+
|
|
|
config ENABLE_LOG_DEBUG
|
|
config ENABLE_LOG_DEBUG
|
|
|
bool "btstack debug log support"
|
|
bool "btstack debug log support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option debug info log support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option debug info log support.
|
|
|
|
|
+
|
|
|
config ENABLE_SDP_DES_DUMP
|
|
config ENABLE_SDP_DES_DUMP
|
|
|
bool "btstack SDP Dump DataElement support"
|
|
bool "btstack SDP Dump DataElement support"
|
|
|
default y
|
|
default y
|
|
@@ -53,7 +55,7 @@ endmenu
|
|
|
menuconfig ENABLE_LE
|
|
menuconfig ENABLE_LE
|
|
|
bool "BTSTACK BLE support"
|
|
bool "BTSTACK BLE support"
|
|
|
default n
|
|
default n
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
if ENABLE_LE
|
|
if ENABLE_LE
|
|
|
config ENABLE_LE_PERIPHERAL
|
|
config ENABLE_LE_PERIPHERAL
|
|
|
bool "btstack LE peripheral support"
|
|
bool "btstack LE peripheral support"
|
|
@@ -65,7 +67,7 @@ menuconfig ENABLE_LE
|
|
|
|
|
|
|
|
config ENABLE_LE_DATA_CHANNELS
|
|
config ENABLE_LE_DATA_CHANNELS
|
|
|
bool "btstack LE data channel support"
|
|
bool "btstack LE data channel support"
|
|
|
- default y
|
|
|
|
|
|
|
+ default y
|
|
|
|
|
|
|
|
config ENABLE_LE_DATA_LENGTH_EXTENSION
|
|
config ENABLE_LE_DATA_LENGTH_EXTENSION
|
|
|
bool "btstack LE data length extension"
|
|
bool "btstack LE data length extension"
|
|
@@ -73,29 +75,29 @@ menuconfig ENABLE_LE
|
|
|
|
|
|
|
|
config ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
|
config ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
|
|
bool "btstack L2CAP ERTM support"
|
|
bool "btstack L2CAP ERTM support"
|
|
|
- default n
|
|
|
|
|
|
|
+ default n
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
menuconfig ENABLE_CLASSIC
|
|
menuconfig ENABLE_CLASSIC
|
|
|
bool "BTSTACK BR_EDR SUPPORT"
|
|
bool "BTSTACK BR_EDR SUPPORT"
|
|
|
default n
|
|
default n
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
if ENABLE_CLASSIC
|
|
if ENABLE_CLASSIC
|
|
|
config NVM_NUM_LINK_KEYS
|
|
config NVM_NUM_LINK_KEYS
|
|
|
- int
|
|
|
|
|
|
|
+ int
|
|
|
default 16
|
|
default 16
|
|
|
|
|
|
|
|
config NVM_NUM_DEVICE_DB_ENTRIES
|
|
config NVM_NUM_DEVICE_DB_ENTRIES
|
|
|
int "btstack class device link support"
|
|
int "btstack class device link support"
|
|
|
- default 16
|
|
|
|
|
-
|
|
|
|
|
|
|
+ default 16
|
|
|
|
|
+
|
|
|
config HCI_INCOMING_PRE_BUFFER_SIZE
|
|
config HCI_INCOMING_PRE_BUFFER_SIZE
|
|
|
int "HCI incomming pre in head BUFFER SIZE"
|
|
int "HCI incomming pre in head BUFFER SIZE"
|
|
|
- default 14
|
|
|
|
|
-
|
|
|
|
|
|
|
+ default 14
|
|
|
|
|
+
|
|
|
config HCI_ACL_PAYLOAD_SIZE
|
|
config HCI_ACL_PAYLOAD_SIZE
|
|
|
int "HCI acl payload size"
|
|
int "HCI acl payload size"
|
|
|
- default 1695
|
|
|
|
|
|
|
+ default 1695
|
|
|
#HFP
|
|
#HFP
|
|
|
config ENABLE_HFP_WIDE_BAND_SPEECH
|
|
config ENABLE_HFP_WIDE_BAND_SPEECH
|
|
|
bool "btstack class HFP WIDE BAND support"
|
|
bool "btstack class HFP WIDE BAND support"
|
|
@@ -106,32 +108,32 @@ menuconfig ENABLE_CLASSIC
|
|
|
bool "Bluetooth SBC encode support"
|
|
bool "Bluetooth SBC encode support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option enables Bluetooth Audio ENCODE support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option enables Bluetooth Audio ENCODE support.
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SBC_DEC
|
|
config PKG_BTSTACK_SBC_DEC
|
|
|
bool "Bluetooth SBC encode decode support"
|
|
bool "Bluetooth SBC encode decode support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option enables Bluetooth Audio DECODE support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option enables Bluetooth Audio DECODE support.
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_CVSD
|
|
config PKG_BTSTACK_CVSD
|
|
|
bool "Bluetooth CVSD support"
|
|
bool "Bluetooth CVSD support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option enables Bluetooth CVSD support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option enables Bluetooth CVSD support.
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_AUDIO
|
|
config PKG_BTSTACK_AUDIO
|
|
|
bool "Bluetooth audio support"
|
|
bool "Bluetooth audio support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option enables Bluetooth audio support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option enables Bluetooth audio support.
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SDP_CLIENT
|
|
config PKG_BTSTACK_SDP_CLIENT
|
|
|
bool "Bluetooth SDP CLIENT support"
|
|
bool "Bluetooth SDP CLIENT support"
|
|
|
default n
|
|
default n
|
|
|
help
|
|
help
|
|
|
- This option enables Bluetooth SDP client support.
|
|
|
|
|
-
|
|
|
|
|
|
|
+ This option enables Bluetooth SDP client support.
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_HFP_AUDIO
|
|
config PKG_BTSTACK_HFP_AUDIO
|
|
|
bool "Bluetooth CVSD support"
|
|
bool "Bluetooth CVSD support"
|
|
|
default n
|
|
default n
|
|
@@ -148,46 +150,46 @@ menuconfig ENABLE_CLASSIC
|
|
|
menuconfig ENABLE_MESH
|
|
menuconfig ENABLE_MESH
|
|
|
bool "BTSTACK Mesh SUPPORT"
|
|
bool "BTSTACK Mesh SUPPORT"
|
|
|
default n
|
|
default n
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
if ENABLE_MESH
|
|
if ENABLE_MESH
|
|
|
config ENABLE_MESH_ADV_BEARER
|
|
config ENABLE_MESH_ADV_BEARER
|
|
|
bool "support the adv bear"
|
|
bool "support the adv bear"
|
|
|
default y
|
|
default y
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config ENABLE_MESH_GATT_BEARER
|
|
config ENABLE_MESH_GATT_BEARER
|
|
|
bool "support the gatt bear"
|
|
bool "support the gatt bear"
|
|
|
- default y
|
|
|
|
|
-
|
|
|
|
|
|
|
+ default y
|
|
|
|
|
+
|
|
|
config ENABLE_MESH_PB_ADV
|
|
config ENABLE_MESH_PB_ADV
|
|
|
bool "support the gatt bear"
|
|
bool "support the gatt bear"
|
|
|
- default y
|
|
|
|
|
|
|
+ default y
|
|
|
|
|
|
|
|
config ENABLE_MESH_PB_GATT
|
|
config ENABLE_MESH_PB_GATT
|
|
|
bool "provisioner gatt"
|
|
bool "provisioner gatt"
|
|
|
- default y
|
|
|
|
|
-
|
|
|
|
|
|
|
+ default y
|
|
|
|
|
+
|
|
|
config ENABLE_MESH_PROXY_SERVER
|
|
config ENABLE_MESH_PROXY_SERVER
|
|
|
bool "provisioner server"
|
|
bool "provisioner server"
|
|
|
- default y
|
|
|
|
|
-
|
|
|
|
|
|
|
+ default y
|
|
|
|
|
+
|
|
|
config ENABLE_MESH_PROVISIONER
|
|
config ENABLE_MESH_PROVISIONER
|
|
|
bool "provisioner server"
|
|
bool "provisioner server"
|
|
|
- default y
|
|
|
|
|
|
|
+ default y
|
|
|
config MAX_NR_MESH_TRANSPORT_KEYS
|
|
config MAX_NR_MESH_TRANSPORT_KEYS
|
|
|
- int
|
|
|
|
|
- default 16
|
|
|
|
|
-
|
|
|
|
|
|
|
+ int
|
|
|
|
|
+ default 16
|
|
|
|
|
+
|
|
|
config MAX_NR_MESH_VIRTUAL_ADDRESSES
|
|
config MAX_NR_MESH_VIRTUAL_ADDRESSES
|
|
|
- int
|
|
|
|
|
- default 16
|
|
|
|
|
-
|
|
|
|
|
|
|
+ int
|
|
|
|
|
+ default 16
|
|
|
|
|
+
|
|
|
config MAX_NR_MESH_SUBNETS
|
|
config MAX_NR_MESH_SUBNETS
|
|
|
- int
|
|
|
|
|
- default 2
|
|
|
|
|
|
|
+ int
|
|
|
|
|
+ default 2
|
|
|
|
|
|
|
|
config MAX_NR_MESH_NETWORK_KEYS
|
|
config MAX_NR_MESH_NETWORK_KEYS
|
|
|
- int
|
|
|
|
|
- default 3
|
|
|
|
|
|
|
+ int
|
|
|
|
|
+ default 3
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
@@ -196,7 +198,7 @@ menuconfig PKG_BTSTACK_SMP
|
|
|
default n
|
|
default n
|
|
|
if PKG_BTSTACK_SMP
|
|
if PKG_BTSTACK_SMP
|
|
|
config ENABLE_ECC_P256
|
|
config ENABLE_ECC_P256
|
|
|
- bool
|
|
|
|
|
|
|
+ bool
|
|
|
default y
|
|
default y
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
@@ -209,148 +211,165 @@ choice
|
|
|
default PKG_BTSTACK_SAMPLE_LE_BLUFI_SERVER
|
|
default PKG_BTSTACK_SAMPLE_LE_BLUFI_SERVER
|
|
|
help
|
|
help
|
|
|
select the BTSTACK samples
|
|
select the BTSTACK samples
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_DISABLE
|
|
config PKG_BTSTACK_SAMPLE_DISABLE
|
|
|
bool "Not enable sample"
|
|
bool "Not enable sample"
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_LE_BLUFI_SERVER
|
|
config PKG_BTSTACK_SAMPLE_LE_BLUFI_SERVER
|
|
|
bool "[LE_SRV] rtthread blufi server"
|
|
bool "[LE_SRV] rtthread blufi server"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
config PKG_BTSTACK_SAMPLE_LE_COUNTER
|
|
config PKG_BTSTACK_SAMPLE_LE_COUNTER
|
|
|
bool "[LE_SRV] BLE peripheral le counter"
|
|
bool "[LE_SRV] BLE peripheral le counter"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_LE_DATA_CHANNEL_SERVER
|
|
config PKG_BTSTACK_SAMPLE_LE_DATA_CHANNEL_SERVER
|
|
|
bool "[LE_SRV] BLE peripheral le data channel server"
|
|
bool "[LE_SRV] BLE peripheral le data channel server"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_LE_STREAMER
|
|
config PKG_BTSTACK_SAMPLE_LE_STREAMER
|
|
|
bool "[LE_SRV] Nordic le streamer server"
|
|
bool "[LE_SRV] Nordic le streamer server"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
- select ENABLE_LE_PERIPHERAL
|
|
|
|
|
-
|
|
|
|
|
|
|
+ select ENABLE_LE_PERIPHERAL
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_NORDIC_LE_COUNTER
|
|
config PKG_BTSTACK_SAMPLE_NORDIC_LE_COUNTER
|
|
|
bool "[LE_SRV] Nordic le counter server"
|
|
bool "[LE_SRV] Nordic le counter server"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_UBLOX_LE_COUNTER
|
|
config PKG_BTSTACK_SAMPLE_UBLOX_LE_COUNTER
|
|
|
bool "[LE_SRV] Nordic spp ublox server"
|
|
bool "[LE_SRV] Nordic spp ublox server"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_ATT_DELAYED_RESPONSE
|
|
config PKG_BTSTACK_SAMPLE_ATT_DELAYED_RESPONSE
|
|
|
bool "[LE_SRV] gatt dealyed response"
|
|
bool "[LE_SRV] gatt dealyed response"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_SM_PAIRING_PERIPHERAL
|
|
config PKG_BTSTACK_SAMPLE_SM_PAIRING_PERIPHERAL
|
|
|
bool "[LE_SMP_SRV] smp peripherals"
|
|
bool "[LE_SMP_SRV] smp peripherals"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
- select ENABLE_LE_PERIPHERAL
|
|
|
|
|
-
|
|
|
|
|
|
|
+ select ENABLE_LE_PERIPHERAL
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_GATT_STREAMER_PERIPHERAL
|
|
config PKG_BTSTACK_SAMPLE_GATT_STREAMER_PERIPHERAL
|
|
|
bool "[LE_SRV] gatt streamer peipheral"
|
|
bool "[LE_SRV] gatt streamer peipheral"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_ANCS_CLIENT_DEMO
|
|
config PKG_BTSTACK_SAMPLE_ANCS_CLIENT_DEMO
|
|
|
bool "[LE_SRV] ancs_client_demo"
|
|
bool "[LE_SRV] ancs_client_demo"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_HOGP_KEYBOARD_DEMO
|
|
config PKG_BTSTACK_SAMPLE_HOGP_KEYBOARD_DEMO
|
|
|
bool "[LE_SRV_hogp] hogp keyboard demo"
|
|
bool "[LE_SRV_hogp] hogp keyboard demo"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_HOGP_MOUSER_DEMO
|
|
config PKG_BTSTACK_SAMPLE_HOGP_MOUSER_DEMO
|
|
|
bool "[LE_SRV_hogp] hogp mouser demo"
|
|
bool "[LE_SRV_hogp] hogp mouser demo"
|
|
|
select ENABLE_LE
|
|
select ENABLE_LE
|
|
|
select ENABLE_LE_PERIPHERAL
|
|
select ENABLE_LE_PERIPHERAL
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# MESH role
|
|
# MESH role
|
|
|
config PKG_BTSTACK_SAMPLE_MESH_DEMO
|
|
config PKG_BTSTACK_SAMPLE_MESH_DEMO
|
|
|
bool "[MESH_NODE] MESH DEMO"
|
|
bool "[MESH_NODE] MESH DEMO"
|
|
|
- select ENABLE_LE
|
|
|
|
|
|
|
+ select ENABLE_LE
|
|
|
select ENABLE_MESH
|
|
select ENABLE_MESH
|
|
|
select PKG_BTSTACK_SMP
|
|
select PKG_BTSTACK_SMP
|
|
|
|
|
|
|
|
config PKG_BTSTACK_SAMPLE_TMALL_MESH_DEMO
|
|
config PKG_BTSTACK_SAMPLE_TMALL_MESH_DEMO
|
|
|
bool "[MESH_NODE] MESH DEMO ON TMALL ALIGEN"
|
|
bool "[MESH_NODE] MESH DEMO ON TMALL ALIGEN"
|
|
|
- select ENABLE_LE
|
|
|
|
|
|
|
+ select ENABLE_LE
|
|
|
select ENABLE_MESH
|
|
select ENABLE_MESH
|
|
|
- select PKG_BTSTACK_SMP
|
|
|
|
|
-
|
|
|
|
|
-# dule mode le and bredr
|
|
|
|
|
|
|
+ select PKG_BTSTACK_SMP
|
|
|
|
|
+
|
|
|
|
|
+# dule mode le and bredr
|
|
|
config PKG_BTSTACK_SAMPLE_SPP_GATT_COUNTER_DEMO
|
|
config PKG_BTSTACK_SAMPLE_SPP_GATT_COUNTER_DEMO
|
|
|
bool "[EDR_LE_SLAVE] spp and gatt counter"
|
|
bool "[EDR_LE_SLAVE] spp and gatt counter"
|
|
|
- select ENABLE_LE
|
|
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
-
|
|
|
|
|
|
|
+ select ENABLE_LE
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_SPP_GATT_STREAMER_DEMO
|
|
config PKG_BTSTACK_SAMPLE_SPP_GATT_STREAMER_DEMO
|
|
|
bool "[EDR_LE_SLAVE] spp and gatt streamer"
|
|
bool "[EDR_LE_SLAVE] spp and gatt streamer"
|
|
|
- select ENABLE_LE
|
|
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
-
|
|
|
|
|
|
|
+ select ENABLE_LE
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_SPP_COUNTER_DEMO
|
|
config PKG_BTSTACK_SAMPLE_SPP_COUNTER_DEMO
|
|
|
bool "[EDR_SPP_SLAVE] spp counter"
|
|
bool "[EDR_SPP_SLAVE] spp counter"
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
|
|
|
|
|
|
|
|
|
|
config PKG_BTSTACK_SAMPLE_SPP_STREAMER_DEMO
|
|
config PKG_BTSTACK_SAMPLE_SPP_STREAMER_DEMO
|
|
|
bool "[EDR_SPP_SLAVE] spp streamer"
|
|
bool "[EDR_SPP_SLAVE] spp streamer"
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
|
|
|
|
|
# classic example
|
|
# classic example
|
|
|
config PKG_BTSTACK_SAMPLE_HFP_HF_DEMO
|
|
config PKG_BTSTACK_SAMPLE_HFP_HF_DEMO
|
|
|
bool "[EDR_HFP_SLAVE] hfp handsfree demo"
|
|
bool "[EDR_HFP_SLAVE] hfp handsfree demo"
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
|
select PKG_BTSTACK_AUDIO
|
|
select PKG_BTSTACK_AUDIO
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_HFP_AG_DEMO
|
|
config PKG_BTSTACK_SAMPLE_HFP_AG_DEMO
|
|
|
bool "[EDR_HFP_MASTER] hfp AG demo"
|
|
bool "[EDR_HFP_MASTER] hfp AG demo"
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
|
select PKG_BTSTACK_AUDIO
|
|
select PKG_BTSTACK_AUDIO
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_HSP_HS_DEMO
|
|
config PKG_BTSTACK_SAMPLE_HSP_HS_DEMO
|
|
|
bool "[EDR_HSP_SLAVE] hfp headset demo"
|
|
bool "[EDR_HSP_SLAVE] hfp headset demo"
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
|
select PKG_BTSTACK_AUDIO
|
|
select PKG_BTSTACK_AUDIO
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_SAMPLE_HSP_AG_DEMO
|
|
config PKG_BTSTACK_SAMPLE_HSP_AG_DEMO
|
|
|
bool "[EDR_HSP_MASTER] hfp ag demo"
|
|
bool "[EDR_HSP_MASTER] hfp ag demo"
|
|
|
- select ENABLE_CLASSIC
|
|
|
|
|
|
|
+ select ENABLE_CLASSIC
|
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
select PKG_BTSTACK_HFP_AUDIO
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
endchoice
|
|
endchoice
|
|
|
|
|
+endif
|
|
|
|
|
+
|
|
|
|
|
+# Using HM package
|
|
|
|
|
+ config PKG_BTSTACK_USING_HM
|
|
|
|
|
+ bool "Using HM package"
|
|
|
|
|
+ default n
|
|
|
|
|
|
|
|
# btstack config
|
|
# btstack config
|
|
|
|
|
|
|
|
choice
|
|
choice
|
|
|
prompt "Version"
|
|
prompt "Version"
|
|
|
- default PKG_USING_BTSTACK_LATEST_VERSION
|
|
|
|
|
|
|
+ default PKG_USING_BTSTACK_V100
|
|
|
help
|
|
help
|
|
|
Select the package version
|
|
Select the package version
|
|
|
|
|
|
|
|
config PKG_USING_BTSTACK_V001
|
|
config PKG_USING_BTSTACK_V001
|
|
|
bool "v0.0.1"
|
|
bool "v0.0.1"
|
|
|
|
|
|
|
|
|
|
+ config PKG_USING_BTSTACK_V100
|
|
|
|
|
+ bool "v1.0.0"
|
|
|
|
|
+
|
|
|
config PKG_USING_BTSTACK_LATEST_VERSION
|
|
config PKG_USING_BTSTACK_LATEST_VERSION
|
|
|
bool "latest"
|
|
bool "latest"
|
|
|
endchoice
|
|
endchoice
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ config PKG_BTSTACK_VER_NUM
|
|
|
|
|
+ hex
|
|
|
|
|
+ default 0x99999 if PKG_USING_BTSTACK_LATEST_VERSION
|
|
|
|
|
+ default 0x10000 if PKG_USING_BTSTACK_V100
|
|
|
|
|
+ default 0x00001 if PKG_USING_BTSTACK_V001
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
config PKG_BTSTACK_VER
|
|
config PKG_BTSTACK_VER
|
|
|
string
|
|
string
|
|
|
default "v0.0.1" if PKG_USING_BTSTACK_V001
|
|
default "v0.0.1" if PKG_USING_BTSTACK_V001
|
|
|
|
|
+ default "v1.0.0" if PKG_USING_BTSTACK_V100
|
|
|
default "latest" if PKG_USING_BTSTACK_LATEST_VERSION
|
|
default "latest" if PKG_USING_BTSTACK_LATEST_VERSION
|
|
|
|
|
|
|
|
endif
|
|
endif
|