xreef / LoRa_E32_Series_Library

Arduino LoRa EBYTE E32 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico (rp2040 boards). sx1278/sx1276
https://www.mischianti.org
Other
348 stars 72 forks source link

Error: Data size not match! #18

Closed masc-it closed 4 years ago

masc-it commented 4 years ago

I'm trying to send a simple broadcast message from my heltec lora v2 esp32 to my arduino mega, but I receive Data size not match! as response. If I use the same exact code on my arduino mega, it returns success just fine.

void sendMsg(){
  Serial.println("Broadcast message");

  ResponseStatus rs = e32ttl.sendBroadcastFixedMessage(0x06, "hello");
    Serial.println(rs.getResponseDescription());

}

Any clue about this behaviour? @xreef

xreef commented 4 years ago

Hi onipot, It's a strange behaivor, can you send me the configuration of esp32 and Mega? If you attach the file to do the test It's better, use the forum for this. Thanks Renzo