Forum Replies Created
-
AuthorPosts
-
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
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 RenzoHi 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
5 January 2022 at 18:04 in reply to: ESP32 S2 Dev SAOLA: SPI for two devices one is SD and EPaper #17693Hi 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
Hi Gilles,
can you send me the code you use and the library version.
Bye RenzoHi 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 RenzoHi 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
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 RenzoHi 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 RenzoHi 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
Hi Arkadiusz,
I don’t check the firmware, and I don’t know well the board, if you check that I think there wasn’t a way.
But I don’t know if the protocol was the same of standard communication via serial usb.We must check that possibility and we can go to use that to connect.
Bye Renzo
Ahh! Yes ok I didn’t remember that.
To set correct power you must add the define, you can refer to this paragraph.
But I think that the problem isn’t that.
For debug uncomment the define in LoRa_E22.h file, but I think also this can’t add more information.
Try to change/remove resistor and connect to 5v.
Bye Renzo
Hi olo,
I don’t know that board and to work a wifi module need more pins check
MKS WIFI for Makerbase Robin: boards and how to wiring esp12 & NodeMCU – 1I think it’s possible but now I don’t check that.
MKS WIFI need an esp8266.
Bye Renzo
Hi Theo,
I don’t know if e22 and e90 are compatible.You must declare the correct power, but it isn’t that the problem
The 30 need more ampere and it’s better if you use 5v
I test the module in Vero close position without problemBye Renzo
Hi,
if you uncomment the debug variable you can get additional info
But I think in your case there is a wiring problem
Try to remove/change the resistor.
What is the exact model you use? -
AuthorPosts