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.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
11:225ab4865c6b | 2017-01-16 | Update lib. | File Diff Annotate |
9:b54448c7f712 | 2017-01-13 | Added HTTPS example | File Diff Annotate |
8:1b5c28fe5e94 | 2016-11-17 | Added NSAPITests lib for a more extensive test | File Diff Annotate |
5:526c0df8cbff | 2016-11-08 | fixed tests | File Diff Annotate |
3:6e7a93483c12 | 2016-11-07 | first beta committ | File Diff Annotate |
2:270e2d0bb85a | 2012-08-30 | Updated library with fix, added example for PUT & DELETE requests | File Diff Annotate |
1:d263603373ac | 2012-08-05 | Public commit | File Diff Annotate |
0:0e0debc29569 | 2012-06-29 | Initial Commit | File Diff Annotate |