0

I am trying to make an Indoor positioning system using ESP8266 as a beacon, how do I get the transmission package timestamp from router to ESP8266 and vice-versa?

Thank you in advance for any advice

asked Mar 3, 2020 at 4:37
4
  • what is a transmission package timestamp? Commented Mar 3, 2020 at 5:02
  • it's the timestamp that's attached to a package every time it is sent from the receiver to the router or vice-versa Commented Mar 3, 2020 at 5:21
  • What do you hope to use the timestamp for? Commented Mar 3, 2020 at 9:41
  • I'm going to compare the received package timestamp from ap to dongle and vice versa to get the distance between the ap and dongle Commented Mar 3, 2020 at 16:01

1 Answer 1

-1

You can use timestamp from NTP client and attach it

Install NTPclient library from Arduino library manager This library uses WiFiUdp library to connect to the NTP server, so download that too

Then you can just update the time every time your sending/receiving something and log it as and how you see fit!

answered Mar 3, 2020 at 6:15
3
  • this answer is so wrong. it doesn't answer the question and it doesn't answer right the question I assume it answers Commented Mar 3, 2020 at 6:38
  • How do I access it though? Commented Mar 3, 2020 at 6:38
  • @Juraj oh I see! maybe I misunderstood the question, I definitely didn't know what Indoor positioning system using ESP8266 as a beacon was! I was working on sending sensor data to database and added this NTP client to get time every time i sent data to database, so i thought the requirement was the same and hence suggested it! would love to hear your thoughts! Commented Mar 3, 2020 at 6:44

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.