Forum Replies Created
-
AuthorPosts
-
Hi,
you can refer this article to learn all the constructorsEbyte LoRa E32 device for Arduino, esp32 or esp8266: library – Part 2
The second constructor is what you need. SoftwareSerial is not needed for esp32.
LoRa_E32(byte txE32pin, byte rxE32pin, HardwareSerial* serial, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1); LoRa_E32(byte txE32pin, byte rxE32pin, HardwareSerial* serial, byte auxPin, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1); LoRa_E32(byte txE32pin, byte rxE32pin, HardwareSerial* serial, byte auxPin, byte m0Pin, byte m1Pin, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1); Breaking change on esp32 constructor
Bye Renzo
Hi Sailorman,
thanks to you for your feedback, I’m going to incorporate the features, so other can use It.
If you want write an article about your project we are happy to publish It.
Bye RenzoHi Asmi,
you select Arduino conf for esp32.Please check the tutorial.
Ebyte LoRa E32 device for Arduino, esp32 or esp8266: WOR (wake on radio) and new ESP32 shield – 8
Bye Renzo
Hi FehnrirX,
the problem is that you send onnly one file but specify 2 as filenumber on this lineEMailSender::Attachments attachs = {2, fileDescriptor};
you must change in
EMailSender::Attachments attachs = {1, fileDescriptor};
Bye Renzo
Hi Saillu,
if you find artifact on image, I think the problem is the file sended, because I don’t apply any type of manipulation withfileDescriptor[0].contentTransferEncoding = "base64";
I add only header that specify that the file is in base64 to the receiver.
Can you attach the complete code?
Bye Renzo
Hi Saillu,
you can test the features on this branch of github.you must add to filedescriptor this information
fileDescriptor[0].contentTransferEncoding = "base64";
It’s untested, give me a feedback.
bye Renzo
Hi Saillu,
I think, to do less change as possible you can do somethimg like this.1. Save jpg.
2. Use second core of esp32 to generate a file already encoded in base64.
3. Send email with file encoded, but i must do a change to the libraryOr use esp32 for all.
If u need help, write to the forum, and share your code.
Bye Renzo
Hi Saillu,
it isn’t the wifi speed, the problem is the low power of esp8266, the encoding It’s an hard process for that processor.If you explain what you want to do we can try to find an alternative solution.
Bye Renzo
Hi,
You must define It before the include of library.
Or inside h file.
Bye Renzo17 June 2021 at 09:48 in reply to: how to retrieve the debugging information of sending email #12703Hi Gilles,
it’s a very specific request, and honestly I have developments and additions to libraries that I developed with a higher priority.
But if I find some time I try to develop these features.
Hi Renzo16 June 2021 at 22:10 in reply to: how to retrieve the debugging information of sending email #12685Hi Gilles,
you can try to substitute the Serial (or DEBUB_PRINT and DEBUG_PRINTLN) with a Stream of file, but you must change some code on library.
Bye RenzoHi RoSchmi,
don’t worry, I’m happy to hear you. I write a simple interface for FTP server, I’m going to release It soon as example of the library.Attachments:
You must be logged in to view attached files.Hi RoSchmi,
I have not yet tested the device with the i2c, I am completing the article with a small application that gives the status of the FTP server.
But seems a connection problem, have you tried making an i2c scanner?
I try to test as soon as possible, but this week It’s full, I do my best.Bye Renzo
Hi RoSchmi,
It’s possible that endTransmission (where I retrieve the begin status) had no return on Wio Terminal.Can you try if work even if the begin had no return?
You can check your wiring with the pinout diagram
[caption id="attachment_12555" align="alignnone" width="300"]
Wio Terminal pinout mischianti low resolution[/caption]
the default configuration require BCM2 (SDA) and BCM3 (SCL) pinout.
Bye Renzo
Hi C,
The success alert you that the sender device send the message, but it don’t kbow if a receiver receive it.Try with trasparent or check M0 M1.
Enable debug and retry.
Bye Renzo -
AuthorPosts