Connect a secure socket with TLS server authentication through X-NUCLEO_IDW01M1 Wi-Fi.
Dependencies: NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed
Fork of HelloWorld_IDW01M1v2 by
Example of TLS connection 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).
It uses the TLS/SSL feature provided natively by the Wi-Fi module and performs secure connection to https://mbed.org 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.
History
Removed unsecure socket connection (only secure socket connection with server authentication)
2017-01-16, by mapellil [Mon, 16 Jan 2017 13:20:06 +0000] rev 12
Removed unsecure socket connection (only secure socket connection with server authentication)
Updated wifi lib
2017-01-13, by mapellil [Fri, 13 Jan 2017 15:31:35 +0000] rev 11
Updated wifi lib
Updated lib, moved secure connection to mbed.com
2017-01-10, by mapellil [Tue, 10 Jan 2017 10:56:37 +0000] rev 10
Updated lib, moved secure connection to mbed.com
Added set time on Wifi module
2017-01-10, by mapellil [Tue, 10 Jan 2017 09:20:31 +0000] rev 9
Added set time on Wifi module
Added secure socket connection example (one way server authentication); updated lib
2017-01-05, by mapellil [Thu, 05 Jan 2017 09:39:03 +0000] rev 8
Added secure socket connection example (one way server authentication); updated lib
Updated network data.
2016-10-17, by nikapov [Mon, 17 Oct 2016 15:26:16 +0000] rev 7
Updated network data.
Update dependencies.
2016-10-17, by nikapov [Mon, 17 Oct 2016 15:11:29 +0000] rev 6
Update dependencies.
updating X_NUCLEO_IDW01M1v2 lib to ST/X_NUCLEO_IDW01M1v2 lib
2016-09-09, by mridup [Fri, 09 Sep 2016 10:52:57 +0000] rev 5
updating X_NUCLEO_IDW01M1v2 lib to ST/X_NUCLEO_IDW01M1v2 lib
updating print statement
2016-09-07, by mridup [Wed, 07 Sep 2016 11:13:06 +0000] rev 4
updating print statement
Updating X_NUCLEO_IDW01M1 lib
2016-09-07, by mridup [Wed, 07 Sep 2016 09:01:47 +0000] rev 3
Updating X_NUCLEO_IDW01M1 lib