Forum Replies Created
-
AuthorPosts
-
Hi George,
you can find the explanation of the configuration here.
Bye RenzoHi George,
read the comments on sketch, that a configuration for esp8266, and you have arduino and esp32.
Bye RenzoHi Daniel,
I fix the problem, and now work; I will release the new version with a working example soon.No, sorry, switching the library after compiling isn’t possible for the structure of the library.
Bye RenzoHi George,
I think you can follow these steps.First, check the complete wiring (all pins, not M0 and M1 to GND and 3.3v). You can find the connection schema in this article.
Ebyte LoRa E32 device for Arduino, esp32 or esp8266: library – 2
Then understand the communication type you need
Ebyte LoRa E32 device for Arduino, esp32 or esp8266: fixed transmission – 4
And finally, configure the device.
EByte LoRa E32 Web Manager: description, configure and demo (esp8266, esp32) – 2
Change only the wiring from one device and another.
Bye RenzoHi don,
don’t worry It remove only the Less secure app because It want to standardize the use of Password Application, the other way to get EMailSender put to work.You can find information about the use of Application password in the article
Send email with attachments: Arduino SAMD boards (WiFiNINA) – 3Bye Renzo
Hi Grzegorz,
when you use INPUT It expects that the default state is LOW, to set an input pin to low you must add a pull-down resistor on your circuit.
Bye Renzo4 March 2022 at 15:59 in reply to: E220-900T22D receiver module restarts itself after 1000 bytes of transmission #19120Azzzz!!! This is a giant bug.
Thanks, I’m going to fix it in all my libraries.Would you like to share your work? It seems very, very interesting and helpful for the people.
Bye Renzo
No Mike,
You must set the correct SMTP server and all the other parameters of your email provider.Hi Mike,
the example that I attach It’s a real example, but you must configure your provider.
Bye RenzoI attach a basic example but remember enc28j60 does not support SSL so you can’t use a service like Gmail.
Check this article
Send email with attachments (v2.x library): Arduino Ethernet – 1And there are a lot of topics about SendGrid configuration and similar.
Bye Renzo
Attachments:
You must be logged in to view attached files.4 March 2022 at 11:35 in reply to: E220-900T22D receiver module restarts itself after 1000 bytes of transmission #19108It’s strange, try to re-read the configuration stored, anche check if It’s correctly stored.
4 March 2022 at 09:25 in reply to: E220-900T22D receiver module restarts itself after 1000 bytes of transmission #19106Hi sup_arman,
you forget to close (and free) the structure container withrc.close()
command.// If something available if (e220ttl.available()>1) { // read the String message #ifdef ENABLE_RSSI ResponseStructContainer rc = e220ttl.receiveMessageRSSI(sizeof(Deneme)); struct Deneme d = *(Deneme*) rc.data; Serial.println(d.type); //e220ttl.flush(); //e220ttl.receiveMessageRSSI(sizeof(Deneme)); //e220ttl.cleanUARTBuffer(); //Serial.println(d.msg); //Serial.println(d.arman); #else ResponseStructContainer rc = e220ttl.receiveMessage(sizeof(Deneme)); struct Deneme d = *(Deneme*) rc.data; Serial.println(d.type); //e220ttl.flush(); //rc = e220ttl.receiveMessage(sizeof(Deneme)); //e220ttl.cleanUARTBuffer(); //Serial.println(d.msg); //Serial.println(d.arman); #endif // Is something goes wrong print error if (rc.status.code!=1){ Serial.println(rc.status.getResponseDescription()); }else{ // Print the data received Serial.println(rc.status.getResponseDescription()); //Serial.println(rc.data); //this was for string transmission only #ifdef ENABLE_RSSI Serial.print("RSSI: "); Serial.println(rc.rssi, DEC); #endif } rc.close(); }
Try
EMailSender emailSend(email_login.c_str(), email_password.c_str());
Bye Renzo
Hi Claudecate,
probably there are spaces added to the end of string to grow all byte array lengthTry something similar to
int writeStringToEEPROM(int addrOffset, const String &strToWrite) { byte len = strToWrite.length(); EEPROM.write(addrOffset, len); for (int i = 0; i < len; i++) { EEPROM.write(addrOffset + 1 + i, strToWrite[i]); } return addrOffset + 1 + len; } int readStringFromEEPROM(int addrOffset, String *strToRead) { int newStrLen = EEPROM.read(addrOffset); char data[newStrLen + 1]; for (int i = 0; i < newStrLen; i++) { data[i] = EEPROM.read(addrOffset + 1 + i); } data[newStrLen] = '\0'; *strToRead = String(data); return addrOffset + 1 + newStrLen; }
where the addrOffset is the start of eeprom and you can use String variable
String user = "ciccio"; String password = "passwd"; writeStringToEEPROM(0, user); writeStringToEEPROM(32, password);
and to read
String user; String password; readStringFromEEPROM(0, &user); readStringFromEEPROM(32, &password);
Bye Renzo
Ahhh ok..
Too late 😛 -
AuthorPosts