This article applies to EFM32 Giant Gecko Series 1 (EFM32GG11) family.
This article references to SLSTK3701A_micriumos_httpcloader Example
SNTP Request is required when the user is trying to establish a connection between EFM32GG11 and a server using HTTPS protocol. SNTP (Simple Network Time Protocol) is a networking protocol used for clock synchronization between computers in a given network. When issuing a SNTP Request, the client attempts to connect to an NTP server indicated by the user. The NTP server responds according to the request. In the example SLSTK3701A_Micriumos_httpcloader, the SNTP Request is used to get the time elapsed from 1970 from the NTP server. If the user gets a [RTOS_ERR_TIMEOUT] error code, it is likely that the SNTP Request timed out during the communication process. This can be caused by the user’s internet server configuration. Some restricted internet servers might block public NTP server from being accessed by the local server.
The following command helps the user to determine if this is the cause of the timeout error
2.If the NTP server is active, then the user can proceed to send the request to the NTP server and see if an appropriate response is generated.
If these commands return errors, then it is likely that the user’s server blocked the communication port to the NTP server.
This figure shows the error code returned by the windows command prompt. In this case, it means that either the NTP server is not running NTP server software, or UDP port 123 is blocked on the server.
The following statement is returned from a mac terminal window when the NTP server is blocked:
There are multiple ways that the user can resolve this issue.