• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Ack in MyController

    Scheduled Pinned Locked Moved Comments & Feedback
    2 Posts 2 Posters 437 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • skywatchS Offline
      skywatch
      last edited by

      Hi,

      Is there documentation about what the setting of 'ack enabled' in mycontroller actually does and how I can use it with a node?

      I'd like to have a node re-send data if data gets lost somehow. Currently I have ack enabled in node with ",true" at the end of message send function, but I am not sure what/how mycontroller ack works with this?

      I understand that there is a HW ack between nrf24l01+ modules and there is also a SW ack in mysensors. So which of these is mycontroller using and how?

      Thanks! 🙂

      Thanks.

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @skywatch
        last edited by

        @skywatch We are running out of document for more than years. I guess, it is time to update our document.

        MyController uses ack as follows when you enabled it,

        0_1541212062106_0f2d8218-baa2-41b1-a52a-23ae70c78eb5-image.png

        Here I have enabled Ack, retry count is 3, ack wait time 1800 ms and stream ack is disabled.

        Sends data to Gateway and wait for 1800 ms, if MyController receives an ack from gateway assumes this data delivered to the end node. Otherwise send the data once again to the gateway and wait for ack. This loop continues until it reaches the maximum retry count.

        Stream ack also works in the same way. OTA firmware update comes under stream data type. When we enable ack for firmware update data, it leads to super high delay on the firmware update, So I have introduced new option to disable ack only for stream data(firmware data). So firmware update will be running without ack enabled.

        I hope this clears ack concept in MyController?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        0

        Online

        587

        Users

        529

        Topics

        3.4k

        Posts
        Copyright © 2015-2025 MyController.org | Contributors | Localization