mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 18:27:31 +02:00
feat(modem): Added test that performs OTA to exercise modem layers
This commit is contained in:
47
components/esp_modem/test/target_ota/main/Kconfig.projbuild
Normal file
47
components/esp_modem/test/target_ota/main/Kconfig.projbuild
Normal file
@ -0,0 +1,47 @@
|
||||
menu "Test Configuration"
|
||||
|
||||
choice TEST_DEVICE
|
||||
prompt "Choose supported modem device (DCE)"
|
||||
default TEST_DEVICE_MODEM_GENERIC
|
||||
help
|
||||
Select modem device connected to the ESP DTE.
|
||||
|
||||
config TEST_DEVICE_MODEM_GENERIC
|
||||
bool "Common modem device"
|
||||
help
|
||||
Generic device that could be used with most common modems (BG96, SIM76xx, A76xx).
|
||||
|
||||
config TEST_DEVICE_PPPD_SERVER
|
||||
bool "PPPD Server"
|
||||
help
|
||||
Test device is a pppd service in server mode, running on linux.
|
||||
endchoice
|
||||
|
||||
config TEST_MODEM_APN
|
||||
string "Modem APN"
|
||||
depends on TEST_DEVICE_MODEM_GENERIC
|
||||
default "lpwa.vodafone.com"
|
||||
help
|
||||
Set APN (Access Point Name), a logical name to choose data network
|
||||
|
||||
config TEST_USE_VFS_TERM
|
||||
bool "Use VFS terminal"
|
||||
default n
|
||||
help
|
||||
Demonstrate use of VFS as a communication terminal of the DTE.
|
||||
VFS driver implements non-block reads, writes and selects to communicate with esp-modem,
|
||||
but this implementation uses UART resource only.
|
||||
|
||||
config TEST_OTA_URI
|
||||
string "URI of the binary"
|
||||
default "https://192.168.11.1/esp32.bin"
|
||||
help
|
||||
HTTPS address of the update binary.
|
||||
|
||||
config BROKER_URI
|
||||
string "Broker URL"
|
||||
default "mqtt://test.mosquitto.org"
|
||||
help
|
||||
URL of an mqtt broker which this example connects to.
|
||||
|
||||
endmenu
|
Reference in New Issue
Block a user