File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
components/esp_wifi_remote Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ endchoice
16
16
17
17
if ESP_WIFI_REMOTE_LIBRARY_EPPP
18
18
19
+ config ESP_WIFI_REMOTE_EPPP_UART_PORT
20
+ int "UART port number"
21
+ default 1
22
+ range 0 3
23
+ help
24
+ UART Port number.
25
+
19
26
config ESP_WIFI_REMOTE_EPPP_UART_TX_PIN
20
27
int "TXD Pin Number"
21
28
default 10
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ __attribute__((weak)) esp_netif_t *wifi_remote_eppp_init(eppp_type_t role)
16
16
config .transport = EPPP_TRANSPORT_UART ;
17
17
config .uart .tx_io = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN ;
18
18
config .uart .rx_io = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN ;
19
+ config .uart .port = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_PORT ;
19
20
config .ppp .netif_description = CONFIG_ESP_WIFI_REMOTE_EPPP_NETIF_DESCRIPTION ;
20
21
config .ppp .netif_prio = CONFIG_ESP_WIFI_REMOTE_EPPP_NETIF_PRIORITY ;
21
22
return eppp_open (role , & config , portMAX_DELAY );
You can’t perform that action at this time.
0 commit comments