NTP request problem on SPWF04
Hi,
I'm working on SPWF04 linked by UART with a NUCLEO F411RE board; I'm facing with a strange problem: I'm trying to connect with an NTP server to synchronize the NUCLEO RTC, so after create a wifi connection, I open the socket, send the data, but the server not answer even if the request going well. This is what I send and what I receive:
TX: AT+S.SOCKON=193.204.114.105,123,,u
RX: AT-S.On:193.204.114.105:0
RX: AT-S.OK
TX: AT+S.SOCKW=0,48<CR><ESC><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL>
RX: AT-S.OK
but after if I try to check any answer, I read:
TX: AT+S.SOCKQ=0
RX: AT-S.Query:0
RX: AT-S.OK
Please, could anyone tell me what's wrong ? Where's the problem ?
Regards
Davide Urbano
#spwf04 #ntp