- This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by .
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › EByte LoRa e32 UART devices sx1262/sx1268 › LoRa E32 Sending message and return receipt
Tagged: message acknowledge
Hello ,
During a transmission is there a return receipt? can we create a while loop which guarantees the sending and the reception of a structure?
thank you
Hi Ludophot,
the creation of generic acknowledge become difficult,
I think you can manage with set a variable like mesArrived with set with the result of millis() when you send a message
and set mesArrived to 0 when acknowledge arrive
and you can set a condition like mesArrived !=0 && mesArrived + interval < millis() if enter in the if raise an error that ack not arrived.
Or something similar.
Bye Renzo
Thank you !
I thought it was automatic ^^
I had thought about that, but the problem is that I must add an identification that use some byte (58byte is the limit of the packet) to identify the ack of the message and so lost a lot of space.
And the other problem is that when receive message from multiple device, so I must add another id for the device, and lost other space, It’s a problem.
I can’t find a generic solution without use a lot of resources.
Bye Renzo
More
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Programming board Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Storage devices Tutorial Web Server Wemos D1 mini WiFi