b-parasite-esp32/code/nrf-connect/Kconfig
2022-11-18 01:14:58 +01:00

39 lines
821 B
Text

source "Kconfig.zephyr"
choice PRST_NETWORK
prompt "b-parasite Network"
default PRST_NETWORK_BLE
config PRST_NETWORK_NONE
bool "Network disabled"
config PRST_NETWORK_BLE
bool "Uses BLE as the network"
depends on BT
endchoice # PRST_NETWORK
###
### BLE configs
###
choice PRST_BLE_ENCODING
prompt "b-parasite BLE encoding"
depends on PRST_NETWORK_BLE
default PRST_BLE_ENCODING_BPARASITE_V2
config PRST_BLE_ENCODING_BPARASITE_V2
bool "Uses the custom b-parasite protocol v2 for encoding advertising packets"
config PRST_BLE_ENCODING_BTHOME
bool "Uses the BTHome (bthome.io) BLE encoding"
endchoice # PRST_BLE_ENCODING
config PRST_BLE_ENCODING_SERVICE_DATA_LEN
int
help
Size of the service data buffer
default 20 if PRST_BLE_ENCODING_BPARASITE_V2
default 18 if PRST_BLE_ENCODING_BTHOME