# Copyright (c) 2020 Siddharth Chandrasekaran <email@example.com>
# SPDX-License-Identifier: Apache-2.0
bool "Open Supervised Device Protocol (OSDP) driver"
Add support for Open Supervised Device Protocol (OSDP)
prompt "OSDP Mode of Operation"
bool "Configure OSDP in Peripheral Device mode"
Configure this device to operate as a PD (Peripheral Device)
bool "Configure OSDP in Control Panel mode"
Configure this device to operate as a CP (Control Panel)
# Workaround for not being able to have commas in macro arguments
DT_CHOSEN_Z_OSDP_UART := zephyr,osdp-uart
string "Device name of UART device for OSDP"
default "$(dt_chosen_label,$(DT_CHOSEN_Z_OSDP_UART))" if HAS_DTS
This option specifies the name of UART device to be used for
int "OSDP UART baud rate"
OSDP defines that baud rate can be either 9600 or 38400 or
int "OSDP Logging Level"
Set the logging level for the OSDP driver
int "OSDP UART buffer length"
OSDP RX and TX buffer FIFO length.
int "OSDP Thread stack size"
Thread stack size for osdp refresh thread
bool "Print bytes sent/received over OSDP to console"
Prints bytes sent/received over OSDP to console for debugging.
LOG_HEXDUMP_DBG() is used to achieve this and can be very verbose.
bool "Enable OSDP Secure Channel"
depends on CSPRING_ENABLED
Secure the OSDP communication channel with encryption and mutual
int "Retry wait time in seconds after a Secure Channel error"
Time in seconds to wait after a secure channel failure, and before
retrying to establish it.
string "Crypto driver to use with OSDP"
OSDP Secure Channel uses AES-128 to secure communication between
CP and PD. Provide an available crypto driver name here.
endif # OSDP_SC_ENABLED
endif # OSDP