LoRa E32 Sending message and return receipt

Home Forums The libraries hosted on the site EByte LoRa e32 UART devices sx1262/sx1268 LoRa E32 Sending message and return receipt

Viewing 3 reply threads
  • Author
    Posts
    • #6629
      ludophot
      Participant

        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

      • #6633
        Renzo Mischianti
        Keymaster

          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

        • #6716
          ludophot
          Participant

            Thank you !

            I thought it was automatic ^^

          • #6717
            Renzo Mischianti
            Keymaster

              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

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.
          Exit mobile version