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.
History
ver 1.2 Added Basic IoT demo controlling LEDs from web page data
2021-02-17, by 4180_1 [Wed, 17 Feb 2021 18:55:05 +0000] rev 6
ver 1.2 Added Basic IoT demo controlling LEDs from web page data
ver 1.1 - added MAC printout and more messages
2021-02-15, by 4180_1 [Mon, 15 Feb 2021 18:19:25 +0000] rev 5
ver 1.1 - added MAC printout and more messages
ver 1.01
2021-02-04, by 4180_1 [Thu, 04 Feb 2021 20:39:35 +0000] rev 4
ver 1.01
ver 1.0
2021-02-04, by 4180_1 [Thu, 04 Feb 2021 20:17:42 +0000] rev 3
ver 1.0
"Update mbed-os"
2017-06-23, by sarahmarshy [Fri, 23 Jun 2017 14:13:09 -0500] rev 2
"Update mbed-os"
Execute GET request on www.arm.com
2017-02-17, by sarahmarshy [Fri, 17 Feb 2017 16:32:24 +0000] rev 1
Execute GET request on www.arm.com
Ported mbed OS 2 to mbed OS 5
2017-01-19, by mab5449 [Thu, 19 Jan 2017 11:46:10 -0600] rev 0
Ported mbed OS 2 to mbed OS 5