Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How does the GSM module use AT commands to access the National Timing Center or Shanghai Jiao Tong University NTP server for online time adjustment? It is possible to add 100 wealth points
How does the GSM module use AT commands to access the National Timing Center or Shanghai Jiao Tong University NTP server for online time adjustment? It is possible to add 100 wealth points

AT command dial-up PPP Internet access, and then use network time adjustment software or code to adjust the time:

AT+CGDCONT=1,"IP","CMNET"

AT+CGATT=1

ATD*99#

After success, you can use the ntptime or w32tm -s command to synchronize the time.