b-parasite-esp32/code/nrf-connect/samples/zigbee/Kconfig

84 lines
2.2 KiB
Text

source "Kconfig.zephyr"
rsource "../../prstlib/Kconfig"
config PRST_ZB_SLEEP_DURATION_SEC
int "Sleep duration between waking up and reading sensors in seconds."
default 60
config PRST_ZB_PARENT_POLL_INTERVAL_SEC
int "Interval for when b-parasite polls its parent for data in seconds."
default 10
config PRST_ZB_BUILD_DATE
string "Zigbee basic cluster build date attribute. Max 16 bytes."
default ""
config PRST_ZB_SOFTWARE_VERSION
string "Zigbee basic cluster software version attribute. Max 16 bytes."
default ""
config PRST_ZB_MODEL_ID
string "Zigbee basic cluster model id attribute. Max 32 bytes."
default "b-parasite"
config PRST_ZB_HARDWARE_VERSION
int "Zigbee basic cluster hardware version attribute. 1 byte."
default BOARD_REVISION_CODE
choice PRST_ZB_FACTORY_RESET_METHOD
bool "Factory reset method"
default PRST_ZB_FACTORY_RESET_VIA_SW1
config PRST_ZB_FACTORY_RESET_VIA_DOUBLE_RESET
bool "Double resetting factory resets the device."
config PRST_ZB_FACTORY_RESET_VIA_RESET_PIN
bool "Resetting via the reset pin will factory reset the device. Power cycling through battery replacement will not."
config PRST_ZB_FACTORY_RESET_VIA_SW1
bool "Resetting while pressing and holding SW1 for 5 seconds will factory reset the device. Only available on v2.0.0+ hardware revisions."
config PRST_ZB_FACTORY_RESET_DISABLED
bool "No factory reset procedure."
endchoice # PRST_ZB_FACTORY_RESET_METHOD
config PRST_ZB_RESTART_WATCHDOG_TIMEOUT_SEC
int "Duration after the device will restart the rejoin procedure if a network has not been successfully joined."
default 3600
if ZIGBEE_FOTA
config ZIGBEE_FOTA_ENDPOINT
int "Endpoint number for ota zigbee endpoint. Must not be used by another application."
default 5
config ZIGBEE_FOTA_COMMENT
string
default "b-parasite"
config IMG_MANAGER
bool "Ensure an MCUboot-compatible binary for ota update is generated."
default y
config STREAM_FLASH
bool
default y
config DFU_TARGET_MCUBOOT
bool
default y
config IMG_ERASE_PROGRESSIVELY
bool
default y
config ZIGBEE_FOTA_PROGRESS_EVT
bool
default y
config NRF_802154_RX_BUFFERS
int "Increase the number of RX buffers for ota functionality."
default 32
endif