Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17203
    shaunybean
    Participant

      Yes sir, it works now – it seems you have to upload firmware, then add the google.com certificate, and then re-upload the firmware….there must be a bug somewhere?

      in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17196
      shaunybean
      Participant

        OK – I think I found a fix – for at least me anyway, I noticed something on this site:

        https://forum.arduino.cc/t/solved-http-ssl-post-via-wifinina-uno-wifi-r2-open-tesla-model-3-charge-port/661743

        This bit:

        • Upload “Firmware Updater” sketch to Arduino (Examples->WifiNINA->tools->Firmware Uploader)
        • From IDE menu, Tools-> Wifi 101/ WifiNINA Firmware Updater
        • In Updater, click “Add domain”, then copy and paste in the server which you want to connect to, click OK
        • Previous step tends to make wifi module not work, to fix: Click Update Firmware (takes a while).

        So I tried that way round, basically re-uploading the firmware after adding certificate….and now it works?!?!

        in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17192
        shaunybean
        Participant

          Let me know if I can help do any more debugging – I am happy to go onto a zoom or anything if that can help?

          Regards

          Shaun

          in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17171
          shaunybean
          Participant

            Hi Renzo,

            I swapped out the block of code and I am unfortunately still getting the same error. I feel like it could be a setting within google, but I followed the procedure and I do not think I missed any steps. I am using the app password.

            Regards

            Shaun

            in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17169
            shaunybean
            Participant

              Hi Renzo

              Thank you – I swapped out this block for the one in your last post. Unfortunately I still get the same error.

              Regards

              Shaun

              in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17166
              shaunybean
              Participant

                Could it be to do with the version number of the WiFiNINA ? Do you know what version you last had working?

                in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17164
                shaunybean
                Participant

                  Hi Renzo,

                  I didnt change anything in the EMailSenderKey apart from the debug, mine looks like this:

                  /*
                  * 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

                  I am using a Arduino Nano 33 IoT

                   

                  in reply to: Arduino Uno Wifi Rev2 Could not connect to mail server #17163
                  shaunybean
                  Participant

                    Hi,

                    I am also having the EXACT same issue (even the part where you have to power cycle the Arduino after firmware install to get it to connect to the network)

                    I have tried all the same steps as you and I still cannot connect to the server – did you make any progress?

                  Viewing 8 posts - 1 through 8 (of 8 total)