Details Regarding "Received packet radio metadata header"

thethinker
Posts: 57
Joined: Thu Mar 01, 2018 1:26 am

Re: Details Regarding "Received packet radio metadata header"

Postby thethinker » Sun Jan 13, 2019 12:40 am

I'm still trying to find out how to read this clock. That's the only way I can think of which lets me find the offset between the HW clock and real clock. Please help!!

thethinker
Posts: 57
Joined: Thu Mar 01, 2018 1:26 am

Re: Details Regarding "Received packet radio metadata header"

Postby thethinker » Wed Feb 13, 2019 7:42 pm

Hello ESP engineers,
Could someone PLEASE answer this?! I have been waiting for months.
Thanks

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: Details Regarding "Received packet radio metadata header"

Postby ESP_Sprite » Thu Feb 14, 2019 3:50 am

At the moment, there is no way. I've asked the WiFi team if they would be willing to add one. Do note that at the moment, the timestamp is added in software, when the WiFi stack processes the packet, so you'll still not have the exact time the radio received the packet. I'll also ask if we can revert to hardware timestamps, for non-802.11B (so for G/N/AC/...) signals we should be able to do that.

matteof93
Posts: 3
Joined: Sun Nov 04, 2018 1:24 pm

Re: Details Regarding "Received packet radio metadata header"

Postby matteof93 » Tue Apr 30, 2019 7:29 pm

thethinker wrote:
Wed Feb 13, 2019 7:42 pm
Hello ESP engineers,
Could someone PLEASE answer this?! I have been waiting for months.
Thanks
Hi, at the end I gave up on this method to retrieve the time at which the packet was received.
On the other hand I found out that using NTP is a good option and it works perfectly, basically I have 4 ESP32 that listen for PROBE REQUEST packets and each time the callback is triggered they get the system time as soon as possible (system time set previously with NTP).

I don't know how much this clock is skewed with respect to the real clock of a NTP server but I can tell you that all the 4 ESP32 give me very very similar timestamps as arrival time of the packet...in general the difference is within 0.05 seconds.

Who is online

Users browsing this forum: No registered users and 107 guests