Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 3 months ago.
COnnecting mBed to Internet(access from Website)
I was reading here >> https://mbed.org/cookbook/Interfacing-with-JavaScript This approach tells very straight forwardingly what is needed to access the mBed over your network BUT I needed to access the mBed from anywhere in the world! I wanted to have a webpage served on my website with some buttons there and access send commands to my mBed from anywhere, How to go about this?
2 Answers
11 years, 3 months ago.
Here is an idea.
- Write a nodejs server with a websocket that the mbed connects to.
- Have the javascript page connect to the websocket too
- Write some interface code for the buttons
Ashley
Thanks I will start working on this basis BUT what about TCP/IP socket opening and connection to it? Is this TCP socket also a possibility so that a chat session sort of thing gets defined?
posted by 08 Mar 2013Take a look at the following in order to work with websockets:
http://mbed.org/cookbook/Websocket-and-Mbed
posted by 08 Mar 201311 years, 2 months ago.
Hi Ashley,
I checked out the Websocket-and-Mbed pages ,fruitful resources but the thing is that I'm not able to define my own server as tornado loads on Linux anything I can do to remove this limitation?
any one ?please
posted by Nishant Sood 08 Mar 2013