Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: esp32 with w5500 constantly rebooting #14276
    sspence65
    Participant

      I’ve been using gmail for months. It’s been configured for unsecure, no 2 factor. It was working until I switched from wifi to ethernet. now it no longer works.

      in reply to: esp32 with w5500 constantly rebooting #14270
      sspence65
      Participant

        “<b>Telnet smtp.gmail.com 465” from the same network works fine, with no errors.</b>

        in reply to: esp32 with w5500 constantly rebooting #14255
        sspence65
        Participant

          It’s not connecting to my gmail account. It used to connect. email address and password have not changed. Gmail gave me an unknown device, access blocked message. I told it it was me. I’m no longer getting security messages, but there’s still no connection. gmail account set to allow insecure connections, no 2 factor.

          in reply to: esp32 with w5500 constantly rebooting #14254
          sspence65
          Participant

            Progress:

            Connection: ESTABLISHED
            Got IP address: 10.0.160.182
            Sending status:
            Connection: ESTABLISHED
            Got IP address: 10.0.160.182
            Sending status:
            0
            2
            Could not connect to mail server

            At least it compiles ….

             

             

            in reply to: esp32 with w5500 constantly rebooting #14252
            sspence65
            Participant

              emailsender.h has the following:

               

              #elif(EMAIL_NETWORK_TYPE == NETWORK_ESP32_ETH)

              #include <ETH.h>
              #define EMAIL_NETWORK_CLASS WiFiClient
              #define EMAIL_NETWORK_SERVER_CLASS WiFiServer

               

              why? if it’s ethernet, why is wifi being called?

              in reply to: esp32 with w5500 constantly rebooting #14250
              sspence65
              Participant

                Exception stack trace decoder shows the following:

                 

                Decoding stack results
                0x4008be30: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 155
                0x4008c061: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 170
                0x40088301: xQueueGenericReceive at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c line 1442
                0x4012947e: sys_mutex_lock at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/port/esp32/freertos/sys_arch.c line 78
                0x4012967e: sys_arch_protect at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/port/esp32/freertos/sys_arch.c line 469
                0x4011bae0: do_memp_malloc_pool at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/memp.c line 302
                0x4011bb49: memp_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/memp.c line 398
                0x40118ce6: netconn_alloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/api_msg.c line 742
                0x40117b70: netconn_new_with_proto_and_callback at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/api_lib.c line 133
                0x4011b364: lwip_socket at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/sockets.c line 1587
                0x400d46d8: start_ssl_client(sslclient_context*, char const*, unsigned int, int, char const*, char const*, char const*, char const*, char const*) at C:\Users\Student01\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure\src\ssl_client.cpp line 61
                0x400d4456: WiFiClientSecure::connect(char const*, unsigned short, char const*, char const*, char const*) at C:\Users\Student01\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure\src\WiFiClientSecure.cpp line 129
                0x400d4551: WiFiClientSecure::connect(char const*, unsigned short) at C:\Users\Student01\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure\src\WiFiClientSecure.cpp line 111
                0x400d2525: EMailSender::send(char const**, unsigned char, unsigned char, unsigned char, EMailSender::EMailMessage&, EMailSender::Attachments) at C:\Users\Student01\Documents\Arduino\libraries\EMailSender\EMailSender.cpp line 396
                0x400d384a: EMailSender::send(char const**, unsigned char, unsigned char, EMailSender::EMailMessage&, EMailSender::Attachments) at C:\Users\Student01\Documents\Arduino\libraries\EMailSender\EMailSender.cpp line 351
                0x400d3875: EMailSender::send(char const**, unsigned char, EMailSender::EMailMessage&, EMailSender::Attachments) at C:\Users\Student01\Documents\Arduino\libraries\EMailSender\EMailSender.cpp line 346
                0x400d38a1: EMailSender::send(char const*, EMailSender::EMailMessage&, EMailSender::Attachments) at C:\Users\Student01\Documents\Arduino\libraries\EMailSender\EMailSender.cpp line 341
                0x400d1e36: setup() at C:\Users\Student01\Documents\Arduino\EMailSenderEsp32GMailTestETH/EMailSenderEsp32GMailTestETH.ino line 58
                0x400d9f53: loopTask(void*) at C:\Users\Student01\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\main.cpp line 14
                0x40088615: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

                
                
                
                
                
                
                		
                	
                in reply to: esp32 with w5500 constantly rebooting #14249
                sspence65
                Participant

                  in my sketch, can I add the following lines:

                   

                  #define DEFAULT_EMAIL_NETWORK_TYPE_ESP32 NETWORK_ESP32

                  #define NETWORK_ESP32_ETH (5)

                  and not touch the emailsenderkey.h file?

                   

                  in reply to: esp32 with w5500 constantly rebooting #14248
                  sspence65
                  Participant

                    so, using the esp32 and the w5500, I would choose what option, and  // comment out the others?

                    in reply to: esp32 with w5500 constantly rebooting #14191
                    sspence65
                    Participant

                      ino attached. emailsenderkey below because it won’t attach for security reasons

                      
                      /*
                      * EMail Sender Arduino, esp8266 and esp32 library to send email
                      *
                      * AUTHOR: Renzo Mischianti
                      * VERSION: 2.3.0
                      *
                      * http://mischianti.org/
                      *
                      * The MIT License (MIT)
                      *
                      * Copyright (c) 2017 Renzo Mischianti www.mischianti.org All right reserved.
                      *
                      * You may copy, alter and reuse this code in any way you like, but please leave
                      * reference to www.mischianti.org in your comments if you redistribute this code.
                      *
                      * Permission is hereby granted, free of charge, to any person obtaining a copy
                      * of this software and associated documentation files (the "Software"), to deal
                      * in the Software without restriction, including without limitation the rights
                      * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
                      * copies of the Software, and to permit persons to whom the Software is
                      * furnished to do so, subject to the following conditions:
                      *
                      * The above copyright notice and this permission notice shall be included in
                      * all copies or substantial portions of the Software.
                      *
                      * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
                      * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
                      * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
                      * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
                      * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
                      * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
                      * THE SOFTWARE.
                      */
                      #ifndef EMailSenderKey_h
                      #define EMailSenderKey_h
                      
                      // Uncomment if you use esp8266 core <= 2.4.2
                      //#define ARDUINO_ESP8266_RELEASE_2_4_2
                      
                      #define ENABLE_ATTACHMENTS
                      
                      // Uncomment to enable printing out nice debug messages.
                      //#define EMAIL_SENDER_DEBUG
                      
                      // Define where debug output will be printed.
                      #define DEBUG_PRINTER Serial
                      
                      #define STORAGE_SPIFFS (0)
                      #define STORAGE_LITTLEFS (1)
                      #define STORAGE_FFAT (2)
                      
                      #define NETWORK_ESP8266_ASYNC (0)
                      #define NETWORK_ESP8266 (1)
                      #define NETWORK_ESP8266_242 (6)
                      #define NETWORK_W5100 (2)
                      #define NETWORK_ENC28J60 (3)
                      #define NETWORK_ESP32 (4)
                      #define NETWORK_ESP32_ETH (5)
                      #define NETWORK_WiFiNINA (7)
                      
                      #ifndef DEFAULT_EMAIL_NETWORK_TYPE_ESP8266
                      #define DEFAULT_EMAIL_NETWORK_TYPE_ESP8266 NETWORK_ESP8266
                      #define DEFAULT_INTERNAL_ESP8266_STORAGE STORAGE_SPIFFS
                      #endif
                      #ifndef DEFAULT_EMAIL_NETWORK_TYPE_ESP32
                      #define DEFAULT_EMAIL_NETWORK_TYPE_ESP32 NETWORK_ESP32
                      #define DEFAULT_INTERNAL_ESP32_STORAGE STORAGE_SPIFFS
                      #endif
                      #ifndef DEFAULT_EMAIL_NETWORK_TYPE_ARDUINO
                      #define DEFAULT_EMAIL_NETWORK_TYPE_ARDUINO NETWORK_W5100
                      #endif
                      #ifndef DEFAULT_EMAIL_NETWORK_TYPE_ARDUINO_SAMD
                      #define DEFAULT_EMAIL_NETWORK_TYPE_SAMD NETWORK_WiFiNINA
                      #endif
                      
                      #define SD_CS_PIN 4
                      
                      //#define STORAGE_INTERNAL_FORCE_DISABLE
                      //#define STORAGE_SD_FORCE_DISABLE
                      
                      #endif
                      
                      Attachments:
                      You must be logged in to view attached files.
                      in reply to: esp32 with w5500 constantly rebooting #14187
                      sspence65
                      Participant

                        ino and emailsenderkey  attached.

                        Attachments:
                        You must be logged in to view attached files.
                      Viewing 10 posts - 1 through 10 (of 10 total)