Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Honza Liška
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Honza Liška

    • Honza Liška

      send() after receive()
      Development • sleep smartsleep • • Honza Liška  

      7
      1
      Votes
      7
      Posts
      93
      Views

      Honza Liška

      From what I understood, the solution from @tmandel was meant to revoke sleep based on incoming message. I needed to delay sleep due to messages waiting in the outgoing queue. At the end, I just got my fork of MySensors and added additional extern callback to MySensorsCore.cpp/_sleep just after the pre-sleep wait(MY_SMART_SLEEP_WAIT_DURATION_MS). The callback is then implemented in my source, where I check whether the oubound queue is empty. If not, MY_SLEEP_NOT_POSSIBLE is returned and the queue is flushed immediately in the next loop(). It may be crude but... hey, it keeps my flowers watered. Many thanks for the advice and the direction provided!
    • Honza Liška

      Multiple NRF24 gateways
      Troubleshooting • • Honza Liška  

      4
      1
      Votes
      4
      Posts
      988
      Views

      Honza Liška

      Thanks for the info and confirmation! I will then move my testing setup to different frequency and the problems with coverage will resolve with repeaters. (I do also have some RFM69 units laying around, but I do not want to use them for the time being due to their bigger footprint)