Forum Replies Created
-
AuthorPosts
-
Hello Renzo,
After conducting some checks, it appears that there isn’t a memory leak in the system. However, I suspect that the E22 module might be the cause of the observed malfunctions. I plan to swap this module to be sure.
Moreover, I am faced with another issue. I recently purchased Lolin32 units from AliExpress, and unfortunately, I find that two-thirds of them seem to be defective. Given the lack of adequate debugging tools, identifying and resolving these issues is becoming quite complicated.
thank
thanks Renzo.
Which one do you prefer?
thank you
thank Renzo
the configuration is a little different from the E22 it is necessary to have their software. the E90 has a timer of a few seconds after it is started to be able to enter configuration mode.
there is a 40 km version perfect for relayHello,
I think the bug is me …..
we are going to put that on the cause of fatigue.thank you Renzo!
I bought this module the “E90-DTU (400SL22P)” because I have to deport the reception of the signal outside the building. the E90-DTU (400SL22P) must communicate with a set of E22 emitter-receiver. hoping that it is compatible.
the simple command to send data with an address is:
uint 8 data [4] = {addressHight, addressLow, Chanel, data1}
serial.write (data [4], 4)?
thank youThank you !
I thought it was automatic ^^
23 September 2020 at 17:15 in reply to: Is it possible to send an object with LoRa E32 device? #6446hello ,
I can’t send / receive a String in a structure. I don’t have to understand everything in my opinion. do you have to transform the string into an array?
Can you give me an example with a structure containing a String?
thank you
22 September 2020 at 17:47 in reply to: Is it possible to send an object with LoRa E32 device? #6432thank you ! 🙂
for the subject #6419 for the subject. Do you have an idea ?
20 September 2020 at 22:47 in reply to: Is it possible to send an object with LoRa E32 device? #6420here is the code of my structure on the transmitter side
struct Badge_Transmition{
const char *type=NULL;
String *message = NULL;
};struct Badge_Transmition E_Badge;
E_Badge.type ="TECH_LAVAGE"; //definition du type
E_Badge.message =&numeroBadge;
ResponseStatus rs = e32ttl100.sendFixedMessage(0, 0, 0x17,&E_Badge,sizeof(Badge_Transmition));
here is the code of my structure on the receiver side
//structure
struct Badge_Transmition{
char type[20];
String message;
};
if (e32ttl.available() > 1){
char type[20]; // first part of structure
ResponseContainer rs = e32ttl.receiveInitialMessage(sizeof(type));
String typeStr = rs.data;
Serial.println(typeStr);
if (typeStr=="TECH_LAVAGE"){
ResponseStructContainer rsc = e32ttl.receiveMessage(sizeof(Badge_Transmition));
struct Badge_Transmition R_Badge = *(Badge_Transmition*) rsc.data;
you look good ?
20 September 2020 at 21:33 in reply to: Is it possible to send an object with LoRa E32 device? #6419I repeat my question ……
I have two questions about structures:
the first one.
I create a structurestruct Badge {
char *Name;
int octet1;
int octet2;
int octet3;
};
Badge badge1("",0x7B, 0x1B, 0x5B);
Badge badge2("",0x7B, 0x1D, 0x5C);
Badge badge3("",0x7B, 0x1C, 0x5B);
Badge badge4("",0x7C, 0x1B, 0x5B);
Badge badge5("",0x7D, 0x1B, 0x5B);
Badge badge6("",0x7E, 0x1B, 0x5B);
then I create a pointer array :
Badge* p_Badge[NOMBREDEBADGEMAX] = {NULL};
void tableauPointeurBadge()
{
p_Badge[1] = &badge1;
p_Badge[2] = &badge2;
p_Badge[3] = &badge3;
}
I would like to automate the array with a loop, to do something like that :
Badge* p_Badge[NOMBREDEBADGEMAX] = {NULL};
void tableauPointeurBadge()
{
for(int i;i<nb_occurrence;i++)
{p_Badge[1] = &badge[i];}
hope to be explicit.
the second question. by imagining having a hundred transmitters that transmit structures to a single receiver. isn’t there a risk of data loss I imagine that this is where the TYPE of structure should be used
thank you
20 September 2020 at 21:12 in reply to: Is it possible to send an object with LoRa E32 device? #6418thank you
ok
<span lang="en">I have two questions about structures: the first one. I create a structure</span>
<span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Badge</span> {</span> char *Name; int octet1; int octet2; int octet3};
<span class="hljs-function"><span class="hljs-keyword">int</span> <span class="hljs-title">main</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span> </span>{
struct Badge badge_Ref("",<span class="hljs-class">0x00,0x00,0x00);</span>
<span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Badge</span> badge1("equipe1",0x00,0x00,0x00);</span>
<span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Badge</span> badge2("equipe2",0x00,0x00,0x00);</span>
<span class="hljs-class"><span class="hljs-keyword">struct</span> <span class="hljs-title">Badge</span> badge3("equipe3",0x00,0x00,0x00);</span>
<span class="hljs-keyword">return</span> <span class="hljs-number">0</span>;
}
<span lang="en">then I create a pointer array :
Badge* p_Badge[NOMBREDEBADGEMAX] = {NULL};
void tableauPointeurBadge()
{
p_Badge[0] = &badge1;
p_Badge[1] = &badge2;
p_Badge[2] = &badge3;
}
</span>I would like to automate the array with a loop, to do something like that :
<span lang=”en”>
Badge* p_Badge[NOMBREDEBADGEMAX] = {NULL};
void tableauPointeurBadge()
{
</span>
for(int i=0 ;i<(badge1.getNbOccurences()-1); i++)
<span lang=”en”>
{
</span><span lang=”en”>
</span><span lang=”en”>
p_Badge[i] = &badge[i];
}
</span>I hope to be explicit.
the second question. by imagining having a hundred transmitters that transmit structures to a single receiver. isn’t there a risk of data loss I imagine that this is where the TYPE of structure should be used
thank you
there is ArduinoOTA ? but the best would be a update from the R32
1 September 2020 at 12:05 in reply to: Constructor difference and HardwareSerial and SoftwareSerial difference #6009I ordered 2 E22 in anticipation of the release of your library.
Repeater mode interests me a lot because I used it on NRF24 modules. do the E32s lack it? the rssi? measurement of the power level when receiving a signal
1 September 2020 at 09:10 in reply to: Constructor difference and HardwareSerial and SoftwareSerial difference #5988Arduino RX <– e22 TX
we see that you work on the E221 September 2020 at 08:23 in reply to: Projet control vidéo with Arduino and MD5 digest authentication. #5980thank you ! I will test that. normally it is on port 80.
-
AuthorPosts