#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

menuconfig MODEM_ALTMDM
	bool "Altair modem support"
	default n
	select SPI
	---help---
		Enable driver for the Altair modem.

if MODEM_ALTMDM

config MODEM_ALTMDM_PROTCOL_V2_1
	bool "Enable SPI protocol version 2.1"
	default y
	depends on MODEM_ALTMDM
	---help---
		Support only this version.

config MODEM_ALTMDM_DEBUG
	bool "Enable debug mode for Altair modem driver"
	default n
	depends on MODEM_ALTMDM
	---help---
		Allow the Altair modem driver print debug information.

config MODEM_ALTMDM_KEEP_WAKE_STATE
	bool "Configuration to keep wake state of modem"
	default n
	depends on MODEM_ALTMDM
	---help---
		none

config MODEM_ALTMDM_MAX_PACKET_SIZE
	int "Max size to be transfer in bytes"
	default 2064
	depends on MODEM_ALTMDM
	---help---
		none

config MODEM_ALTMDM_SLEEP_TIMER_VAL
	int "Modem sleep timer"
	default 20
	depends on MODEM_ALTMDM
	---help---
		Modem sleep timer in milliseconds.
		Modem may sleep if there is no data to be transferred
		during specified time. Values smaller than 20 milliseconds
		can not be specified.

endif
