DatanoiseTV / esp-find3-client

3rd Party Indoor Location using ESP8266/ESP32 and Find3 (https://github.com/schollz/find3)
GNU General Public License v3.0
129 stars 37 forks source link

Is the timestamp needed? #8

Closed jacobalberty closed 3 years ago

jacobalberty commented 5 years ago

It's only used to fill out the "t" field in the json but I was peeking at the api document and it indicates that it's not needed

You can include current timestamp specified as the Epoch time in milliseconds at UTC (”t”), but this is optional. If it is not included, the server will assign the current time when it is received.

May as well leave it out and simplify things a bit. It looks like that code is esp32 specific anyway and non functional on the esp8266.