You only read until "\n".
What if there is additional text?
My ideas:
* Why (all at once) not read the whole content of the UART buffer?
* or (line-by-line) why not use a "WHILE" loop to read all available lines (multiple " \n")?
You only read until "\n".
What if there is additional text?
My ideas:
* Why (all at once) not read the whole content of the UART buffer?
* or (line-by-line) why not use a "WHILE" loop to read all available lines (multiple " \n")?
now I get the response
thank you for responses
.
.
.
.
can you please tell me how to get the time from NTP server with GSM module
i read the AT commands from manual and try to do it but can't set the time.
Test Command
AT+CNTP=? response +CNTP:255,(-96~96)
OK
Read Command
AT+CNTP? Response +CNTP:,
OK
Write Command
AT+CNTP=””[,] Response OK or ERROR
Execution Command
AT+CNTP Response +CNTP:,
OK or ERROR
now I get the response
thank you for responses
.
.
.
.
can you please tell me how to get the time from NTP server with GSM module
i read the AT commands from manual and try to do it but can't set the time.
Test Command
AT+CNTP=? response +CNTP:255,(-96~96)
OK
Read Command
AT+CNTP? Response +CNTP:,
OK
Write Command
AT+CNTP=””[,] Response OK or ERROR
Execution Command
AT+CNTP Response +CNTP:,
OK or ERROR