{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/2277","repository_url":"https://api.github.com/repos/espressif/esp-idf","labels_url":"https://api.github.com/repos/espressif/esp-idf/issues/2277/labels{/name}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/2277/comments","events_url":"https://api.github.com/repos/espressif/esp-idf/issues/2277/events","html_url":"https://github.com/espressif/esp-idf/issues/2277","id":348387118,"node_id":"MDU6SXNzdWUzNDgzODcxMTg=","number":2277,"title":"[TW#25621] SNTP manual interval request in the application","user":{"login":"Trubochkin","id":12196780,"node_id":"MDQ6VXNlcjEyMTk2Nzgw","avatar_url":"https://avatars3.githubusercontent.com/u/12196780?v=4","gravatar_id":"","url":"https://api.github.com/users/Trubochkin","html_url":"https://github.com/Trubochkin","followers_url":"https://api.github.com/users/Trubochkin/followers","following_url":"https://api.github.com/users/Trubochkin/following{/other_user}","gists_url":"https://api.github.com/users/Trubochkin/gists{/gist_id}","starred_url":"https://api.github.com/users/Trubochkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trubochkin/subscriptions","organizations_url":"https://api.github.com/users/Trubochkin/orgs","repos_url":"https://api.github.com/users/Trubochkin/repos","events_url":"https://api.github.com/users/Trubochkin/events{/privacy}","received_events_url":"https://api.github.com/users/Trubochkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-07T16:02:43Z","updated_at":"2018-08-21T06:41:03Z","closed_at":null,"author_association":"NONE","body":"The SNTP component [provides public methods](https://github.com/espressif/esp-idf/blob/master/components/lwip/include/lwip/apps/sntp/sntp.h) sntp_init and sntp_stop, but does not provide the method sntp_request publicly. Also, I see that request interval is set by [define](https://github.com/espressif/esp-idf/blob/4480ab6c8ce70778df4948e587e712540de237eb/components/lwip/include/lwip/apps/sntp/sntp_opts.h#L129). I need to set the request interval manually in my application. How can I do this?"},"comment":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/comments/414566522","html_url":"https://github.com/espressif/esp-idf/issues/2277#issuecomment-414566522","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/2277","id":414566522,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDU2NjUyMg==","user":{"login":"liuzfesp","id":15992422,"node_id":"MDQ6VXNlcjE1OTkyNDIy","avatar_url":"https://avatars1.githubusercontent.com/u/15992422?v=4","gravatar_id":"","url":"https://api.github.com/users/liuzfesp","html_url":"https://github.com/liuzfesp","followers_url":"https://api.github.com/users/liuzfesp/followers","following_url":"https://api.github.com/users/liuzfesp/following{/other_user}","gists_url":"https://api.github.com/users/liuzfesp/gists{/gist_id}","starred_url":"https://api.github.com/users/liuzfesp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuzfesp/subscriptions","organizations_url":"https://api.github.com/users/liuzfesp/orgs","repos_url":"https://api.github.com/users/liuzfesp/repos","events_url":"https://api.github.com/users/liuzfesp/events{/privacy}","received_events_url":"https://api.github.com/users/liuzfesp/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T06:41:03Z","updated_at":"2018-08-21T06:41:03Z","author_association":"COLLABORATOR","body":"@Trubochkin currently LWIP SNTP doesn't provide API to manually set the polling interval. However, you can change the polling interval by changing SNTP_UPDATE_DELAY in lwipopts.h, the default polling interval is 3600000 milliseconds."}}
{"actor":{"display_login":"liuzfesp"}}