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\$

closed as off-topic by Brian Carlton, laptop2d, Dave Tweed Jun 8 '17 at 21:12

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on the use of electronic devices are off-topic as this site is intended specifically for questions on electronics design." – Brian Carlton, laptop2d, Dave Tweed
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\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?
\$\endgroup\$
-1
\$\begingroup\$
AT+CREG?
AT+CLTS=1
AT+CFUN=0
AT+CFUN=1
AT+CCLK?

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

\$\endgroup\$

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