FOTA Update and Node Repeater


  • Hardware Contributor

    Hello, I don't know if this is a issue with MyController ( @jkandasa ) With MySBootloader ( @tekka ) or my code (@Soloam 😏 ). But when I'm updating my nodes with a new firmware using MyController (MQTT Gateway, doubt that is relevant), the nodes that are far away from the Gateway fail a lot (I can see on the MQTT messages that MyController keeps repeating the same message over and over again), but when I send a normal message it works as intended "all the time". Can it be possible that the Repeat Function (MY_REPEATER_FEATURE) does not work as intended with FOTA?

    Thank You All


  • Plugin Developer

    @soloam Which version of MyController are you using?
    In MyController side, if you are using version 1.2.0 and above, try to disable acknowledgment feature on the gateway page and try again.

    For user application and FOTA, radio libraries are different? @tekka Am I right?


  • Hardware Contributor

    Thank You @jkandasa . I'm using 1.2.0 I'll try that. But will that make that if some message get lost that the update process will not try again and fail?


  • Admin

    @soloam FOTA messages are longer and put a strain on the RF link. If your connection is not good that could translate to some dropped messages resulting in repeated messages, especially with nodes farther away from the GW. You can certainly increase the range and signal quality with a repeater - but that doesn't seem to work in your hands. Can you provide a communication log from the repeater node?


  • Hardware Contributor

    @tekka I'll try to do that, it will not be a easy task because all the nodes that I use as repeater are inside the wall at the moment, the ones outside (temperature etc) are all sleep nodes, so I disabled the repeater function. I'll try to get one or 2 open to test it out! That will give a better clarification on what is happening.

    Thank You


  • Plugin Developer

    @soloam AFAIK, MySBootloader will ask repeatedly if some messages lost from the controller. Enabling ack will lead high latency on a firmware update. I may include an option in the future version of MyController as, disable ack for firmware updates.


  • Admin

    @jkandasa actually, MYSBootloader does not implement ACK handling (due to space constraints), but online FOTA does.


Log in to reply
 

Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts