source "Kconfig.zephyr" rsource "../../prstlib/Kconfig" config PRST_SLEEP_DURATION_MSEC int "Sleep duration in milliseconds" default 600000 config PRST_BLE_ADV_DURATION_MSEC int "Advertising duration in milliseconds" default 1000 config PRST_BLE_MIN_ADV_INTERVAL int "Minimum advertising interval in milliseconds" default 30 config PRST_BLE_MAX_ADV_INTERVAL int "Maximum advertising interval in milliseconds" default 40 choice PRST_BLE_ENCODING prompt "b-parasite BLE encoding" default PRST_BLE_ENCODING_BTHOME_V2 config PRST_BLE_ENCODING_BPARASITE_V2 bool "Uses the custom b-parasite protocol v2 for encoding advertising packets" config PRST_BLE_ENCODING_BTHOME_V1 bool "Uses the BTHome (bthome.io) BLE encoding (v1)" config PRST_BLE_ENCODING_BTHOME_V2 bool "Uses the BTHome (bthome.io) BLE encoding (v2)" 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_V1 default 19 if PRST_BLE_ENCODING_BTHOME_V2 config PRST_BLE_HAS_USER_DEFINED_RANDOM_STATIC_ADDR bool "Whether to use a custom BLE address" config PRST_BLE_USER_DEFINED_RANDOM_STATIC_ADDR string "Overrides the device's BT address" help This address has to be random static (e.g.: f0:ca:f0:ca:01:d5). depends on PRST_BLE_HAS_USER_DEFINED_RANDOM_STATIC_ADDR