Search found 24 matches

by vinimac
Thu Apr 30, 2020 12:41 pm
Forum: ESP-IDF
Topic: Getting netif
Replies: 4
Views: 8122

Re: Getting netif

Hi,

How do I set Wifi as default interface?

Code: Select all

void setWifidefault()
{
    esp_netif_t* netif = NULL;
    netif = esp_netif_get_handle_from_ifkey("WIFI_AP_DEF");
    netif_set_default(netif->lwip_netif);
}
error: dereferencing pointer to incomplete type 'esp_netif_t' {aka 'struct esp_netif_obj'}
by vinimac
Thu Nov 28, 2019 5:31 pm
Forum: ESP-IDF
Topic: PPP does not detect modem disconnection
Replies: 2
Views: 3656

Re: PPP does not detect modem disconnection

PPP might detect connection loss, but TCP won't. That's expected, unless
you use LWIP_TCP_KEEPALIVE (just gxxxle for tcp keepalive...).

Regards,
Simon
http://lwip.100.n7.nabble.com/PPPos-doe ... 35008.html
by vinimac
Thu Nov 07, 2019 4:49 pm
Forum: ESP-IDF
Topic: PPP does not detect modem disconnection
Replies: 2
Views: 3656

PPP does not detect modem disconnection

Hi all, I am simulating a signal loss by removing the antenna from the modem and I keep sending packets to a server using TCP socket. After remove the antenna, the function lwip_send() wont fail and error number is not set too. I was expecting TCP layer to detect the lack of TCP ACK or PPP should ha...
by vinimac
Mon May 27, 2019 5:13 pm
Forum: General Discussion
Topic: ESP32 sleep mode and resume the code
Replies: 0
Views: 1956

ESP32 sleep mode and resume the code

We are creating an application that needs to save power so we are putting the ESP32 into deep sleep, and using the ULP co-processor to wake up on a pin change, or to wake up after a predetermined amount of time i.e. 1hr so we can turn on sensors, collect the data, send it to a server via cellular mo...
by vinimac
Sun May 12, 2019 8:07 pm
Forum: Report Bugs
Topic: Uart2 does not work.
Replies: 5
Views: 10740

Re: Uart2 does not work.

OMG, I cannot believe I missed this!

Thanks very much for the reply.
by vinimac
Sun May 12, 2019 10:46 am
Forum: Report Bugs
Topic: Uart2 does not work.
Replies: 5
Views: 10740

Re: Uart2 does not work.

Hello, I have same issue, but I am not using default pins. In scope, there is no TX signal. #define RS485_TX 34 #define RS485_RX 22 #define RS485_DE 19 #define RS485UART UART_NUM_2 uart_config_t uart_config = { .baud_rate = 9600, .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, .stop_bi...
by vinimac
Fri Feb 15, 2019 2:07 pm
Forum: Hardware
Topic: GPIOConfig tab in ESP32 Download Tool 3.6.4
Replies: 1
Views: 3700

Re: GPIOConfig tab in ESP32 Download Tool 3.6.4

Hi,

I have same problem. Have you figured out how to use GPIOConfig?
by vinimac
Tue Nov 20, 2018 4:54 pm
Forum: General Discussion
Topic: uSD card using SPI and fwrite() consistently fails after short operating period
Replies: 6
Views: 11297

Re: uSD card using SPI and fwrite() consistently fails after short operating period

Hi guys,

I have same problem, and I am using SD MMC mode. I solved by calling taskYIELD() after fwrite().
by vinimac
Tue Nov 06, 2018 4:19 pm
Forum: Report Bugs
Topic: wifi: ieee80211_output.c 1197 and watchdog
Replies: 1
Views: 4084

Re: wifi: ieee80211_output.c 1197 and watchdog

After some changes in code now it is crashing in another point, but still in Wifi driver: Guru Meditation Error: Core 0 panic'ed (LoadProhibited) . Exception was unhandled. Core 0 register dump: PC : 0x400fbc12 PS : 0x00060630 A0 : 0x800fdc1c A1 : 0x3ffc2a40 A2 : 0x3ffb8c58 A3 : 0x3ffbc1d4 A4 : 0x3f...
by vinimac
Mon Nov 05, 2018 8:04 pm
Forum: Report Bugs
Topic: wifi: ieee80211_output.c 1197 and watchdog
Replies: 1
Views: 4084

wifi: ieee80211_output.c 1197 and watchdog

Hi, My hardware is a esp32 dev kit c. And ESP-IDF commit fb7ba1baa068a2267ef54b7105cf3c8a004fe4eb I have a code running on ESP32 to receive a RTP stream so it is a lot of data. After receive 9 RTP frames I get this message: E (66539) wifi: ieee80211_output.c 1197 And after will get stuck with this m...