I'm using Expressif ESP32 dev boards and the PainlessMesh library. My nodes do an initial time sync, but after a while I've seen odd behavior where the calculated offset is negative... implying that the message came from the future.

I see in the PainlessMesh class definition a protected method called startTimeSync, which sounds similar to what I want. Is there a way to manually initiate a time sync request via PainlessMesh?



Had a conversation with the folks over at Painlessmesh. There is a way, but it's not meant to be invoked directly:


| improve this answer | |
  • 1
    Whilst this may theoretically answer the question, it would be much better if you could include the essential parts of the linked page with the link for reference. Thanks! – anonymous2 Jun 25 '19 at 2:32
  • And , After that, accept your own answer, which will help others who read this in future. Thanks, and welcome aboard :-) – Mawg says reinstate Monica Feb 21 at 7:22

Your Answer

