当前位置: 动力学知识库 > 问答 > 编程问答 >

Estimating Delay in WiFi Using Android

问题描述:

I have a simple and clear question: Is it possible to send a set of data packets, one packet at a time after the acknowledgement signal from the access point is received using an Android device? The type of signal is not important just the total time passed into the process( within a resolution of ns or us suits my application) is important for me and I don't know a thing about Android, but if such a task can be pulled off in Android, it would be an honor to learn Android.

Thanks

网友答案:

You can send a System.nanoTime() value to the other device and then substract...the thing is if the 2 devices dont have exactly the same hour, this value will not be real... Anyways, you can sync. both devices sending a "test package" from a fixed distance, sou you can measure the difference according to the test package.

分享给朋友:
您可能感兴趣的文章:
随机阅读: