0
\$\begingroup\$

Is there any way to fetch the current time from the 800c GSM module. I tried the following commands:

AT+CENG=2
AT+CLTS=1 
AT+CCLK? 

Output:

+ceng:"4/01/01,00:35:+22 

Not getting the updated date and time from network.

\$\endgroup\$
  • \$\begingroup\$ Does the module respond with OK after AT+CLTS=1 ? \$\endgroup\$ – Bence Kaulics Jun 2 '16 at 7:24
  • \$\begingroup\$ Not all networks send a time signal. AT+CCLK? gives you the module's RTC time. \$\endgroup\$ – pjc50 Jun 2 '16 at 11:09
  • \$\begingroup\$ @BenceKaulics yes it responded with ok.then after executing the next instruction it is responding me the same string as shown above .only the GSM time is correct +22.as here in india standard time is GMT+5:30 so that make equal to 22 Quaters . @pjc50 20 i tried the same with three service providers still same. \$\endgroup\$ – pranjal khanduri Jun 3 '16 at 7:23
  • \$\begingroup\$ Before blaming the GSM module, check whether your mobile phone is able to pick the time from the cellular network. \$\endgroup\$ – Dmitry Grigoryev Jun 8 '17 at 8:05
2
\$\begingroup\$

i tried the following commands to get the correct time from the network.

AT+COPS=2
AT+CLTS=1
AT+COPS=0
AT+CCLK?
| improve this answer | |
\$\endgroup\$
-1
\$\begingroup\$
AT+CREG?
AT+CLTS=1
AT+CFUN=0
AT+CFUN=1
AT+CCLK?

......Got the time and date perfectly

| improve this answer | |
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.