10 years, 9 months ago.

Ethernet interface to the LPC1768

I need help to develop a internet application for the micro controller where I want to go to the particular website and insert the password and username, after successfully login the web page they user can control the peripherals connected to the micro controller.But the problem is to how to initialized the password and user name through the micro controller, how we can get the data from the web page to the micro controller...? I am using LPC1768 (Software: Keil,Language:embedded c). So please give me any idea.

Thank you...

1 Answer

10 years, 9 months ago.

I think you are saying that the mbed will connect to a protected web site, and the mbed will insert the password and username.

If that is the case, I'm trying to do something similar (not yet successfully). I'm using the EthernetInterface and HTTPClient. This supports the basic auth mechanism.

If you are trying to access a protected page where the username and password are part of a form on that page, you might still use the above mentioned library, but the interface could be different - to fill out the form. I'm not yet familiar with that mechanism.

HI Mr.David Smart I don't have any idea about c++ language,Can you give me the idea or suggestion to write this one in c language please. How we can Receive the data from the web page to micro controller ...?(procedure for receiving the data from web page to micro controller)

posted by K vikram 02 Feb 2014

A side effect of the mbed community here (for me) is learning C++, but it does take some work. I could mostly "read C++" for a long time (since it looks much like C of course). Writing it is harder, and while I can work my way through most problems - it might take a dozen experiments to figure out. By searching this site (and others), you'll find examples to simply copy from and then start tweaking to meet your actual needs. So, for me, I consider myself quite expert in embedded real-time application of C, but more or less a novice working my way up the C++ curve (some days more successfully than others).

Oh, and you mentioned other tools (compilers), and I'm sure it is possible to be successful with those tools. Perhaps there are even samples of code available from those tool vendors, but I can't help with them.

posted by David Smart 02 Feb 2014