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
Revisions of SpwfInterface.cpp
Revision | Date | Message | Actions |
---|---|---|---|
16:c8697141ce44 | 2017-01-13 | added get_time API | File Diff Annotate |
15:0a075334e0e9 | 2017-01-10 | Renamed set_un/secure_socket() API | File Diff Annotate |
14:4ec13009341c | 2017-01-02 | Added TLS secure socket API; updated SPWF01SA library | File Diff Annotate |
13:0368732b5b9d | 2016-11-22 | Added constructor with reset and wakup gpio exposed. | File Diff Annotate |
9:4cd89586b370 | 2016-09-21 | updated SPWFSA01 lib | File Diff Annotate |
5:8ee8698d19e3 | 2016-08-02 | sock_recv returns DEVICE_ERROR as well to not block in case of "device error" | File Diff Annotate |
4:2f3f156a3b0b | 2016-07-07 | 1ms delay in NSAPI socket_recv when socket recv returns -1 | File Diff Annotate |
3:4c2cbca19031 | 2016-07-07 | fixing NSAPI socket_send | File Diff Annotate |
2:610672ed2e9f | 2016-07-07 | updated libs. | File Diff Annotate |
1:fd7b3df18dd7 | 2016-07-05 | remove compiler errors and fixing code | File Diff Annotate |
0:907910bfb0b5 | 2016-07-05 | SPWF NSAPI v2 | File Diff Annotate |