Need help figuring out Ethernet based communication

29 Oct 2012

Switching from embedded computers to trying to learn the ARM platform you can see why im having some trouble here ...

I need to communicate from a computer or android device over the network to my mbed and i would normally a telnet or a ssh to send commands but i dont see any libraries to let me do this, i can see the potential in the HTTP server but i have no idea where to go from there!

i have my mbed all wired up with an Ethernet port and the HTTP server test program works fine!

in short i need a way to send "commands" from a remote device over the network and in to my mbed and have it execute a task! 2 way communications is strongly preferred but i can settle going from device to mbed

sorry for my english!

29 Oct 2012

Hi,

I'd try looking at the RPC pages in the cookbook - they show how commands can be sent over serial or HTTP to cause the mbed to perform various actions.

HTH

Jez

29 Oct 2012

Hi Alyx,

I was playing with RPC commands and Visual Basic 2008, take a look here > http://mbed.org/users/fernandomachado/code/RPC_HTTP/ and here the VB 2008 project > http://www.4shared.com/rar/KeoBrZxm/Teste_Mbed.html (the executable is inside "Teste_Mbed\bin\Debug").

30 Oct 2012

Hey,

Still, you can try to send all mbed data to a MySQL database and make your android or computer to use a web interface that communicates directly with mbed.