[ntp:questions] [Android+NTP] synchronise time with millisecond accuracy
bcorreia.c at gmail.com
Wed Mar 26 11:09:31 UTC 2014
I am trying to synchronise the time of an Android device with a local machine, for test purposes, using ntp. However, the difference between the time of the device and the ntp server is always around 5 milliseconds.
Is there any way to synchronise the device with milliseconds accuracy?
Here is my test scenario configuration:
This is a machine running Debian that will be used as the ntp server and will send traffic to the Android device. This machine is connected with an Ethernet cable to have internet access
This machine is running Debian and acts as an Access Point. It is also connected to the Android Server with an Ethernet cable.
An Android device with root access. It is connected to the Android AP via WiFi. This device will receive the traffic generated by the Android Server, and must be synchronised with it.
I do not need the Android Server to be synchronised with an external ntp server. Therefore, I changed the ntp.conf to have only "server 127.127.1.0".
In order to synchronise the Android device I use the ntpd and have also tried with ntpclient. However, the results are very similar.
More information about the questions