NetworkSocketAPI Test Suite for X-NUCLEO-IDW01M1 Wi-Fi expansion board.

Dependencies:   NSAPITests NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed

Fork of SpwfInterface_NSAPI_Testsv2 by ST Expansion SW Team

Introduction

SpwfInterface_NSAPI_Tests is a test suite application for the NSAPI Tests Suite for the expansion board X-NUCLEO-IDW01M1v2. This library is only supported on NUCLEO platforms and any arduino platforms.

Example Application

The SpwfSAInterface class needs to be instantiated with the UART RX and TX pins used. Depending on the platform used, the pin numbers may vary.

E.g. For FRDM K64F board it is: D9 and D7.

For Nucleo it is D8 and D2.

SpwfSAInterface spwf(D8, D2, false);


First of all, the example application tries to connect to the SSID/AP which is provided in the program code. In order to connect to your desired SSID/AP please change the SSID/AP settings/text to the one which is used in the user's environment. Please also remember that the SSID needs to be connected to the internet.

 char * ssid = "STM"; //Please change to local SSID/AP name
 char * seckey = "STMdemoPWD"; //Please change password


The NSAPI python script EchoServer.py needs to be executed on the server side before starting the test on the mbed platform. The server IP address and the port to connect to needs to be modified in the code below before starting the tests on the mbed platform.

nsapi_tests("SPWF Tests", &spwf, "192.168.1.6", 32001);



History

Updated X-NUCLEO_IDW01M1v2 lib default tip

2016-10-26, by mansiag [Wed, 26 Oct 2016 05:43:26 +0000] rev 4

Updated X-NUCLEO_IDW01M1v2 lib


updating X_NUCLEO_IDW01M1v2 lib to ST/X_NUCLEO_IDW01M1v2 lib

2016-09-09, by mridup [Fri, 09 Sep 2016 10:57:44 +0000] rev 3

updating X_NUCLEO_IDW01M1v2 lib to ST/X_NUCLEO_IDW01M1v2 lib


updating X_NUCLEO_IDW01M1 lib

2016-09-07, by mridup [Wed, 07 Sep 2016 09:10:07 +0000] rev 2

updating X_NUCLEO_IDW01M1 lib


Changes in pin names in main

2016-09-07, by mridup [Wed, 07 Sep 2016 08:31:07 +0000] rev 1

Changes in pin names in main


X_NUCLEO_IDW01M1v2 based Spwf NSAPI Tests v2

2016-07-07, by mridup [Thu, 07 Jul 2016 13:24:37 +0000] rev 0

X_NUCLEO_IDW01M1v2 based Spwf NSAPI Tests v2