Skip to content

sntp NIST time server #231

@kas2

Description

@kas2

Hi,

I am currently getting date and time using NIST Internet Time Service with my ESP8266.
when porting my code to ESP32, I get following error messages:

error: 'sntp_set_timezone' was not declared in this scope
error: 'sntp_get_current_timestamp' was not declared in this scope
error: 'sntp_get_real_time' was not declared in this scope

I checked the ESP32 "sntp.h", and strangely enough, those 3 functions are not declared in this file

What am I missing ??
Any sntp demo code available ??
TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions