
Alternative TCPSocket example using an HTTP GET to read a short "helloworld" text web page using a different server
Fork of ARMs demo HTTP socket demo. ARM's server was redirected and the demo was no longer working. An alternative server was setup and the code was modified to display the web page text in addition to just "200 OK". Only works for a very short web page - buffer only 400 characters but RAM is running out on the LPC1768 in the demo! Data read from the web page is read and parsed to control the mbed's 4 LEDs for a basic IoT demo.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
6:9cf6630fa25d | 2021-02-17 | ver 1.2 Added Basic IoT demo controlling LEDs from web page data | File Diff Annotate |
5:66c4a71d22e9 | 2021-02-15 | ver 1.1 - added MAC printout and more messages | File Diff Annotate |
4:d3627ca18f87 | 2021-02-04 | ver 1.01 | File Diff Annotate |
3:576f312d2601 | 2021-02-04 | ver 1.0 | File Diff Annotate |
1:965d7fb768b6 | 2017-02-17 | Execute GET request on www.arm.com | File Diff Annotate |
0:6b383744246e | 2017-01-19 | Ported mbed OS 2 to mbed OS 5 | File Diff Annotate |