4 years, 10 months ago.

X-NUCLEO-IDW01M1 with NucleoL476 send stream to M2X compiler error


First, I wrote a mbed program with with DISCOF746 board to send analog datas on M2X service cloud with onboard Ethernet and It work perfectly.

Now I'm trying to use the hardware below to send same datas to M2X, because I don't want to use Ethernet wire: NucleoL476 with X-NUCLEO-IDW01M1 Wifi expansion board.

I've added libraries: M2XStreamClient and jsonlite X-NUCLEO_IDW01M1 and NetworkSocketAPI

So, cannot compile project "Error: Cannot open source input file "TCPSocketConnection.h": No such file or directory in "WebSocketClient/Websocket.h", Line: 36, Col: 34"

It seems that TCPSocketConnection.h is not include into X-NUCLEO_IDW01M1 and NetwokSocketAPI lib ? For DISCOF746, this header file is present into F7_Ethernet lib.

Did I forget something ?

Thank you for help.


Question relating to:

1 Answer

4 years, 10 months ago.

You can find the "TCPSocketConnection.h" file in the following link: http://developer.mbed.org/users/mbed_official/code/Socket/

Or, you can check also in github: https://github.com/mbedmicro/mbed/search?utf8=%E2%9C%93&q=TcpSocketConnection.h

I will try it.

Thank you.

Best regards

posted by rom r 05 Jul 2016