• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Arduino Time Unset_Sync_provider()

Not open for further replies.

dr pepper

Well-Known Member
Most Helpful Member
I have a project that is going well.
I host a webpage displaying various realtime info.
It was going well till I decided to send a email every so often, using the arduino time lib to send an email at a certain time/day of the week.
It all seems to work, however if a new client tries to connect or an xml update file is being uploaded and a time sync occurs at the same time (I'm using ntp web time update) the esp goes into error 29 (attempt to write to a protected area of memory).
I assume this is due to to the tcp/udp clash.
I use set_sync_provider () and set_sync_interval () at 30s intervals to sync the time, so I have no control over when sync happens.
Is there a way I can control this?, a unset_sync_provider would be good if there was one, or is there a way to manually invoke a time sync, then I have control.
Not open for further replies.

Latest threads

EE World Online Articles