Forum Replies Created

Viewing 15 posts - 676 through 690 (of 1,029 total)
  • Author
    Posts
  • in reply to: [BeePrint enhancement] Add mqtt support #17748
    Renzo Mischianti
    Keymaster

      Hi Davide,
      It’s a good idea, I must check if have enough resources to manage mutual authentication..
      Bye Renzo

      in reply to: emailsender with W5100 crash #17745
      Renzo Mischianti
      Keymaster

        Hi Gilles,
        no sorry, not yet, I hope next week I put on my Eclipse Sloeber and check It.

        Can you write here a description of the program?
        It will be very usefully when I’ll go to examine It.

        Bye Renzo

        in reply to: E22 Wiring and Constructor Validation #17733
        Renzo Mischianti
        Keymaster

          Hi Theo,
          I don’t have a DTU to compare the configuration, but if you have some problem, you can contact Ebyte, who changes his organization to help and better support the developer.

          You can also try to configure a BROADCAST message instead of a transparent transmission.

          Please give me feedback about that.

          Bye Renzo

          in reply to: E22 Wiring and Constructor Validation #17732
          Renzo Mischianti
          Keymaster

            Hi Theo,

            I can try and make a tutorial for the PCB design through easy eda if interested in your blog?

            Sure, if you can do that. It’s fantastic!.

            Bye Renzo

            in reply to: emailsender with W5100 crash #17731
            Renzo Mischianti
            Keymaster

              Hi Gilles,
              Update the library to the last version (now 2.4.3); there are some memory fixes than retry.
              Bye Renzo

              in reply to: ESP 8266 error: Could not connect to mail server #17725
              Renzo Mischianti
              Keymaster

                Hi Morne,
                you need a USB to serial adapter to program an esp01.

                ESP-01 modules programming board

                Try a telnet from your PC to check if there are some firewall rules versus the smtp server. So we can exclude network problem.

                Bye Renzo

                in reply to: [BeePrint enhancement] Auth to access Beeprint #17722
                Renzo Mischianti
                Keymaster

                  Hi Mauro,
                  I have in mind an auth solution, but probably without https (too resource and memory), so I must think better how to do.
                  Thanks for sharing Renzo

                  in reply to: E22 Wiring and Constructor Validation #17721
                  Renzo Mischianti
                  Keymaster

                    Hi Theo,
                    I’m happy that you had found the problem.
                    If you’d like to share your project write to me without problem.

                    Bye Renzo

                    Renzo Mischianti
                    Keymaster

                      Hi Lakshminarauyana,
                      I think It’s more complex the problem, from here It seems that the spi pins can be changed only via begin.

                      But when you declare GxIO

                      
                      GxIO_Class io(fspi, /*CS=5*/10, /*DC=*/44, /*RST=*/43); // arbitrary selection of 17, 16
                      

                      evenif you declare CS pin, inside It start spi with begin() standard parameter.

                      
                      void GxIO_SPI::init()
                      {
                        if (_cs >= 0)
                        {
                          digitalWrite(_cs, HIGH);
                          pinMode(_cs, OUTPUT);
                        }
                        if (_dc >= 0)
                        {
                          digitalWrite(_dc, HIGH);
                          pinMode(_dc, OUTPUT);
                        }
                        if (_rst >= 0)
                        {
                          digitalWrite(_rst, HIGH);
                          pinMode(_rst, OUTPUT);
                        }
                        if (_bl >= 0)
                        {
                          digitalWrite(_bl, HIGH);
                          pinMode(_bl, OUTPUT);
                        }
                        reset();
                        _spi.begin();
                      }
                      

                      but this command start SPI with standard pins

                      
                      void SPIClass::begin(int8_t sck, int8_t miso, int8_t mosi, int8_t ss)
                      {
                          if(_spi) {
                              return;
                          }
                      
                          if(!_div) {
                              _div = spiFrequencyToClockDiv(_freq);
                          }
                      
                          _spi = spiStartBus(_spi_num, _div, SPI_MODE0, SPI_MSBFIRST);
                          if(!_spi) {
                              return;
                          }
                      
                          if(sck == -1 && miso == -1 && mosi == -1 && ss == -1) {
                      #if CONFIG_IDF_TARGET_ESP32S2
                              _sck = (_spi_num == FSPI) ? SCK : -1;
                              _miso = (_spi_num == FSPI) ? MISO : -1;
                              _mosi = (_spi_num == FSPI) ? MOSI : -1;
                              _ss = (_spi_num == FSPI) ? SS : -1;
                      #elif CONFIG_IDF_TARGET_ESP32C3
                              _sck = SCK;
                              _miso = MISO;
                              _mosi = MOSI;
                              _ss = SS;
                      #else
                              _sck = (_spi_num == VSPI) ? SCK : 14;
                              _miso = (_spi_num == VSPI) ? MISO : 12;
                              _mosi = (_spi_num == VSPI) ? MOSI : 13;
                              _ss = (_spi_num == VSPI) ? SS : 15;
                      #endif
                          } else {
                              _sck = sck;
                              _miso = miso;
                              _mosi = mosi;
                              _ss = ss;
                          }
                      
                          spiAttachSCK(_spi, _sck);
                          spiAttachMISO(_spi, _miso);
                          spiAttachMOSI(_spi, _mosi);
                      
                      }
                      

                      I don’t know if can solve but try to change void GxIO_SPI::init() by pass the sck, miso, mosi, ss parameter.

                      Bye Renzo

                      in reply to: emailsender with W5100 crash #17691
                      Renzo Mischianti
                      Keymaster

                        Hi Gilles,
                        can you send me the code you use and the library version.
                        Bye Renzo

                        in reply to: ESP 8266 error: Could not connect to mail server #17690
                        Renzo Mischianti
                        Keymaster

                          Hi Morne,
                          First, try the example to send the email that you can find to the examples folder and give me the test response.
                          It seems correct, so there may be a network problem, but we’ll have the response with the standard test.
                          Bye Renzo

                          in reply to: STM32 SMTP testing, and SSL TSL support #17683
                          Renzo Mischianti
                          Keymaster

                            Hi ps2chiper,
                            I push the branch, you can find It here.

                            I create a define for EthernetLarge

                            
                            	#define DEFAULT_EMAIL_NETWORK_TYPE_SAMD 	NETWORK_ETHERNET_LARGE
                            

                            And you also must uncomment

                            
                            #define SSLCLIENT_WRAPPER
                            

                            but in the branch is already uncommented.

                            You must add thrust anchors with this command

                            
                                emailSend.setTrustAnchors(TAs, (size_t)TAs_NUM, A3);
                            

                            I don’t test It, but with your change on bearssl_ssl.h header.

                            
                            /** \brief Optimal input buffer size. */
                            //#define BR_SSL_BUFSIZE_INPUT (16384 + 325)
                            #define BR_SSL_BUFSIZE_INPUT (1024 + 325)
                            
                            /** \brief Optimal output buffer size. */
                            //#define BR_SSL_BUFSIZE_OUTPUT (16384 + 85)
                            #define BR_SSL_BUFSIZE_OUTPUT (1024 + 85)
                            

                            I also change SSLclient.h from this
                            unsigned char m_iobuf[2048];
                            To this
                            unsigned char m_iobuf[BR_SSL_BUFSIZE_BIDI];
                            as advised on your example.

                            But I don’t understand how to manage TLS encryption.

                            Bye Renzo

                            in reply to: STM32 SMTP testing, and SSL TSL support #17678
                            Renzo Mischianti
                            Keymaster

                              Hi ps2chiper,
                              I’m going to create a branch of my library with a basic implementation.
                              When finished, I’m thrilled to help me complete the work.
                              I will write here when the version is created.
                              Bye Renzo

                              in reply to: BeePrint on Robin E3D #17677
                              Renzo Mischianti
                              Keymaster

                                Hi all,
                                Can it be a solution to use a device (like esp32-s2) with USB OTG and connect It directly to the USB like Octoprint???
                                Bye Renzo

                                in reply to: E22 Wiring and Constructor Validation #17672
                                Renzo Mischianti
                                Keymaster

                                  Hi Theo,
                                  It seems all ok, try to make any change
                                  WOR role
                                  and
                                  Tran Mode
                                  of DTU, in a previous version of the E22 client, Ebyte made some parameters errors.

                                  If you have another E22, try to send a message to check if you have some receiving problem.

                                  Bye Renzo

                                Viewing 15 posts - 676 through 690 (of 1,029 total)