1#
2# Copyright (c) 2020 Siddharth Chandrasekaran <siddharth@embedjournal.com>
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7config OSDP_NUM_CONNECTED_PD
8	int "Number of connected Peripheral Devices"
9	default 1
10	range 1 126
11	help
12	  In PD mode, number of connected PDs is always 1 and cannot
13	  be configured.
14
15config OSDP_PD_ADDRESS_LIST
16	string "List of connected Peripheral Device addresses"
17	default "1"
18	help
19	  Comma Separated Values of PD addresses. The number of values in this
20	  string should exactly match the number of connected PDs specified above
21
22config OSDP_PD_COMMAND_QUEUE_SIZE
23	int "OSDP Peripheral Device command queue size"
24	default 16
25	help
26	  The number of commands that can be queued to a given PD. In CP mode,
27	  the queue size is multiplied by number of connected PD so this can grow
28	  very quickly.
29
30config OSDP_CMD_RETRY_WAIT_SEC
31	int "Retry wait time in seconds after a command error"
32	default 30
33	help
34	  Time in seconds to wait after a command failure, and before retrying or
35	  issuing further commands.
36
37config OSDP_PD_POLL_RATE
38	int "Number Peripheral Device POLL commands per second"
39	default 20
40	help
41	  The Control Panel must query the Peripheral Device periodically to
42	  maintain connection sequence and to get status and events. This option
43	  defined the number of times such a POLL command is sent per second.
44
45if OSDP_SC_ENABLED
46
47config OSDP_MASTER_KEY
48	string "Secure Channel Master Key"
49	default "NONE"
50	help
51	  Hexadecimal string representation of the 16 byte OSDP Secure Channel
52	  master Key. This is a mandatory key when secure channel is enabled.
53
54endif # OSDP_SC_ENABLED
55