Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Interrupt when LoraReceive #23767
    Georg
    Participant

      Thank you for the answer.
      I am not sure if I have expressed myself correctly and that I understand it correctly.
      I actually do not want to activate wakeup on lora but just react very quickly to a received message … (or does an interrupt only work together with wakeup?).
      My problem is:
      In my application I have a very long program under void loop() and within this program the request if (e220ttl.available()>1) … due to the long program the processing of LoraReceive is sometimes very late.
      Sorry for this further question, I just want to understand it before I rebuild my program and I’m not sure if I’m affecting anything else with wakeup
      Br. Georg

      in reply to: E220-900T30S #20871
      Georg
      Participant

        Hi Renzo,
        thank you very much for the quick reply.
        here the code for Lora send. The amount of data is about 15 characters.

        // ************** LoRa-Send *****************
        void LoraSend(int _counter, unsigned long _wert_millis) {

        String temp; // Sendedaten zusammenbauen
        temp = “Nr: ” + String(_counter) + ” Millis: ” + String(_wert_millis);

        // Send message
        //e220ttl.sendMessage(temp);
        ResponseStatus rs = e220ttl.sendMessage(temp);
        // Check If there is some problem of succesfully send
        Serial.println(rs.getResponseDescription());
        }
        // ************** END LoRa-Send *****************

        At the sender I always get the answer “successful”, even when sending more than 4 telegrams.
        the first 4 telegrams arrive also without problems at the receiver, then unfortunately nothing more comes.
        After that, no reset of the send-ESP32 helps, but only removing the voltage of the send-Ebyte220 – only then another 4 telegrams come through again.
        Many thanks in advance for your help,
        Georg

      Viewing 2 posts - 1 through 2 (of 2 total)