9 years, 1 month ago.

Using the websocket protocol to send RPC commands to an MBED MC?

I am trying to create an (external) HTML5 webapp that both allows the user to see information / data from an MBED device but also allows control via the RPC commands. To achieve this I will set up a tornado websocket server to handle the communications. As far as i understand, from the existing tutorials, I am able to send a json string of information to the server from the MBED and get that data from the server via the webapp. Is it as simple as sending the RPC command to the server from the webapp and in the MBED get that data as a json text string? If anyone has implemented this already i would be very interested in seeing how it was achieved. Thanks!

Be the first to answer this question.