Duplex mode (sort of)

Viewing 3 reply threads
  • Author
    Posts
    • #20005
      Klaas

        Hi,

        I am trying to make 2 nodes that both send and recieve (ttl 1w). Node 1 mostly recieves form node 2 wich is sending periodically (around every 10 sec). But with a push button they can send their own message structure.
        This works most of the time.

        But i am having a problem (freezing of the reciever) when i think it sends/recieves to fast after each other and maybe the buffer isn’t empty.I am using normal mode on both nodes.

        Do you have any tips how i can maybe clear the buffer or how i can handle this?

      • #20006
        Klaas

          Hi,

          I found the problem, i had the free(rsc.data);.
          Removed it. And now it is worken fast.

          Thanks, i found the problem here on the forum.

          Keep up the good work Renzo! Thanks a lot!

        • #20007
          Renzo Mischianti
          Keymaster

            Good! If you need more help, write without problems.
            And if you want, share your projects.
            Bye Renzo

          • #22478
            tarpacik
            Participant

              Hello Klaas,can you tell that how you did solve the problem or you can share the code . Thanks.

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