The Awsm Dvlprz Blog

Tales of awesomazing adventures

Most examples for setting the RTC on an ESP32 use WiFi or Ethernet connection and the builtin SNTP library or the NTPClient library. However, if a device operates in an environment without WiFi over 3G (as in our case), setting the RTC is not so straightforward.

This is just a quick note to understand the workings of timeservers and synchronizing the RTC using SNTP over TCP and UDP connections.

Continue reading...

The ESP 32 from Espressif is a nifty device that supports both WiFi and Bluetooth LE communication. This short note explains how to transmit to and receive data from AWS IoT on WiFi using MQTT protocol on an ESP32 device.

Continue reading...