Search found 23 matches
- Thu Jul 11, 2019 5:40 pm
- Forum: ESP-IDF
- Topic: Receiving MBEDTLS_ERR_NET_CONN_RESET when downloading file from a remote server
- Replies: 1
- Views: 4552
Re: Receiving MBEDTLS_ERR_NET_CONN_RESET when downloading file from a remote server
Managed to do a log of mbedtls debug including some of my prints https://pastebin.com/FeHQChfx Seems to be a lot of ssl->f_recv(_timeout)() errors: 1330 (-0xffffface) this one is repeated periodically all over but can't find what they mean... Edit: okay, so those aren't errors :lol: , it's just the ...
- Wed Jul 10, 2019 8:46 pm
- Forum: ESP-IDF
- Topic: Receiving MBEDTLS_ERR_NET_CONN_RESET when downloading file from a remote server
- Replies: 1
- Views: 4552
Receiving MBEDTLS_ERR_NET_CONN_RESET when downloading file from a remote server
Hi there, I'm using esp-idf version 3.0.5 I have ESP32 connected to a GSM module via UART. I use loboris example (https://github.com/loboris/ESP32-PPPOS-EXAMPLE) to create the PPPOS connection and to pass the data to TCPIP layer. Also I'm using do while loop for read the response of the server (http...
- Tue Oct 23, 2018 11:08 am
- Forum: ESP-IDF
- Topic: Reading old messages in UART1 (changing baudrate, buffer flush...)
- Replies: 2
- Views: 5177
Re: Reading old messages in UART1 (changing baudrate, buffer flush...)
There is many commits to uart driver since your version https://github.com/espressif/esp-idf/commits/master/components/driver/uart.c Thanks, could I just update uart.c and uart.h, or I would have to update whole esp-idf? If so, which version do you recommend, v3.0.5? EDIT: Just trying v3.0.5 and it...
- Tue Oct 23, 2018 9:38 am
- Forum: ESP-IDF
- Topic: Reading old messages in UART1 (changing baudrate, buffer flush...)
- Replies: 2
- Views: 5177
Reading old messages in UART1 (changing baudrate, buffer flush...)
Hi there. My idf version is v3.0-dev-1597-g2ddee729. I use the UART's like this: -UART0: communicate with other uC. -UART1: communicate with a GSM -UART2: print debug messages I'm using the function of loboris example for PPPos and GSM, to send and receive to module via UART. (https://github.com/lob...
- Tue Oct 23, 2018 8:20 am
- Forum: ESP-IDF
- Topic: PPPoS interface disconnection event is not always calling the registered disconnect callback function
- Replies: 13
- Views: 20066
Re: PPPoS interface disconnection event is not always calling the registered disconnect callback function
Hi Retesh, first of all thanks for your help again, it's very aprecited. And sorry to reply too late, I've been quite busy these last days :D For now, I've encountered two problems, one it's mbedtls related and the other with the UART, so I'll make another topic for that. I've tried the modification...
- Tue Oct 16, 2018 3:57 pm
- Forum: ESP-IDF
- Topic: PPPoS interface disconnection event is not always calling the registered disconnect callback function
- Replies: 13
- Views: 20066
Re: PPPoS interface disconnection event is not always calling the registered disconnect callback function
Yeah. something like that you need implement state machine for that I've seen sometimes the GSM returns "NO CARRIER" message (which indicates connection has been lost), but sometimes it doesn't return the message and program gets stuck :( However I added to go to a Reset state when receiveing a "NO...
- Tue Oct 16, 2018 11:27 am
- Forum: ESP-IDF
- Topic: PPPoS interface disconnection event is not always calling the registered disconnect callback function
- Replies: 13
- Views: 20066
Re: PPPoS interface disconnection event is not always calling the registered disconnect callback function
Ok. Understood. If you GSM module doen't support SIM Card removal detection then you need to implement which will reset your GSM module based on retried of command response. After that once GSM module will be reset then you will get initially like SIM Card is not inserted from GSM init process itse...
- Tue Oct 16, 2018 6:28 am
- Forum: ESP-IDF
- Topic: PPPoS interface disconnection event is not always calling the registered disconnect callback function
- Replies: 13
- Views: 20066
Re: PPPoS interface disconnection event is not always calling the registered disconnect callback function
Hi, We have put GSM Module reset state machine into LWIP Library which we have developed for our GSM module I think you need to add handler or provision regarding PPP callback function into your state machine once you get SIM card removal detection event. Would you please check it from your PPP app...
- Mon Oct 15, 2018 11:08 am
- Forum: ESP-IDF
- Topic: PPPoS interface disconnection event is not always calling the registered disconnect callback function
- Replies: 13
- Views: 20066
Re: PPPoS interface disconnection event is not always calling the registered disconnect callback function
Hi Ritesh, have you found a solution or workaround for this issue? I have the same problem, for example if ESP is downloading a file via GSM and I remove the SIM card (just to simulate an interruption of the connection) the program gets stuck because PPP callback isn't called... Do you think is a bu...
- Fri Sep 21, 2018 1:18 pm
- Forum: General Discussion
- Topic: If want to enable WiFi and BLE with partitions two ota, 4MB flash is enough or not?
- Replies: 9
- Views: 17003
Re: If want to enable WiFi and BLE with partitions two ota, 4MB flash is enough or not?
When changing the partition table memory values, are there certain rules to be careful about - like size limits, how sizes add up, using certain multiples, and so forth? Must the board.txt values match the default.csv values? I've just started working on a Wemos (knockoff) ESP32 with OLED, using Ar...