HTTP/HTTPS client Hello World application running with X-NUCLEO-IDW01M1v2 wifi board.
Dependencies: HTTPClient NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed
Fork of HTTPClient_HelloWorld by
Example of HTTP and HTTPS connections using X-NUCLEO-IDW01M1 Wi-Fi expansion board.
The application is meant to be used with mbed OS 2 ("Classic") only (no mbedOS 5 support).
For HTTPS connection it uses the TLS/SSL feature provided natively by the Wi-Fi module and performs secure connection to the server also verifying the server identity.
To avoid expired CA certificates, system time (in epoch) must be manually entered (e..g. using http://www.epochconverter.com/ ) .
Retrieval of current time from an NTP server is shown by this example.
Diff: HTTPClient.lib
- Revision:
- 12:4ae87c278a63
- Parent:
- 10:b3fbc83d5f9b
--- a/HTTPClient.lib Mon Jan 16 15:00:57 2017 +0000 +++ b/HTTPClient.lib Mon Jan 16 15:12:46 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/HTTPClient/#dafc02922e40 +https://developer.mbed.org/teams/ST/code/HTTPClient/#dafc02922e40