X-NUCLEO-IDW01M1 Wi-Fi expansion board mbed OS 2 ("Classic") library. mbed OS 5 library also available (see below).
Dependencies: SPWF01SA
Dependents: SpwfInterface_NSAPI_Testsv2 Nucleo_read_a0_thingspace Nucleo_read_a0_thingspace_mems Cayenne-X-NUCLEO-IDW01M1 ... more
Fork of X_NUCLEO_IDW01M1v2 by
Introduction
X_NUCLEO_IDW01M1 is a mbed library for the Wi-Fi expansion board X-NUCLEO-IDW01M1 compatible with STM32 Nucleo.
The software can be used for building Wi-Fi applications with the SPWF01SA module. It is an implementation of the NetworkSocketAPI library from mbed OS 2 ("Classic").
mbed OS 5 library can instead be found at this link.
Firmware Library
The X_NUCLEO_IDW01M1 library comes with a sample application (HelloWorld_IDW01M1v2) and a NSAPI test suite application (SpwfInterface_NSAPI_Testsv2).
This library is only supported on NUCLEO platforms and any platforms with Arduino connector. However connection to arduino needs to be done manually using 4 wires for Vdd, Gnd, Rx and Tx. Example applications have more specific details on exact connections to be used.
The features of the library are :
- Supports mbed OS 2 ("Classic") NetworkSocketAPI
- Supports both client sockets
- Configuration of USART pins to be used
Class SpwfSAInterface is intended to represent the X-NUCLEO-IDW01M1 expansion board with the SPWF module.
The expansion board is basically featuring the component:
- a SPWF01SA Serial-to-Wi-Fi module
Example Applications
NSAPI Test Suite
Revision 9:4cd89586b370, committed 2016-09-21
- Comitter:
- mridup
- Date:
- Wed Sep 21 13:29:28 2016 +0000
- Parent:
- 8:a03836aab12c
- Child:
- 10:b328afdb2f0b
- Commit message:
- updated SPWFSA01 lib
Changed in this revision
SPWF01SA.lib | Show annotated file Show diff for this revision Revisions of this file |
SpwfInterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPWF01SA.lib Fri Sep 09 09:57:12 2016 +0000 +++ b/SPWF01SA.lib Wed Sep 21 13:29:28 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST/code/SPWF01SA/#e1c30b4383e4 +https://developer.mbed.org/teams/ST/code/SPWF01SA/#01031cd39e73
--- a/SpwfInterface.cpp Fri Sep 09 09:57:12 2016 +0000 +++ b/SpwfInterface.cpp Wed Sep 21 13:29:28 2016 +0000 @@ -38,7 +38,7 @@ // Various timeouts for different SPWF operations #define SPWF_CONNECT_TIMEOUT 20000 #define SPWF_SEND_TIMEOUT 500 -#define SPWF_RECV_TIMEOUT 1500 +#define SPWF_RECV_TIMEOUT 500 #define SPWF_MISC_TIMEOUT 15000 /** spwf_socket class