NNN40 run a HTTP server with RPC using Soft AP mode
Dependencies: WIFI_API_32kRAM mbed
Fork of HTTP-Server by
The sample code will run as a WiFi Soft AP mode with given AP configuration setting including SSID name and password. IP address (fixed to 192.168.2.1 for the current version of WIFI_API)of AP router will be print out once Soft AP mode is operating.
User can open their web browser and go to http://192.168.2.1/. and have a try on switch on a led. Firstly, we need to create an object to control a led
Then, led can be switch on using RPC command
More information cab be found from the links below
https://developer.mbed.org/users/feb11/code/HTTP-Server/
https://developer.mbed.org/cookbook/Interfacing-Using-RPC
History
First commit;
2015-09-16, by wgd8700 [Wed, 16 Sep 2015 02:43:42 +0000] rev 11
First commit;
Improved javascript code
2013-07-18, by feb11 [Thu, 18 Jul 2013 10:10:14 +0000] rev 10
Improved javascript code
Improved error message
2013-07-18, by feb11 [Thu, 18 Jul 2013 09:39:35 +0000] rev 9
Improved error message
Changed error message when no request handler is found
2013-07-18, by feb11 [Thu, 18 Jul 2013 08:30:11 +0000] rev 8
Changed error message when no request handler is found
Improved error handling and added log
2013-07-17, by feb11 [Wed, 17 Jul 2013 16:23:35 +0000] rev 7
Improved error handling and added log
Fixed bug in javascript code for interactive html formatter
2013-07-17, by feb11 [Wed, 17 Jul 2013 15:18:41 +0000] rev 6
Fixed bug in javascript code for interactive html formatter
Fixed bug in InteractiveHTMLFormatter
2013-07-17, by feb11 [Wed, 17 Jul 2013 15:01:05 +0000] rev 5
Fixed bug in InteractiveHTMLFormatter
Fixed bug in InteractiveHTMLFormatter
2013-07-17, by feb11 [Wed, 17 Jul 2013 15:00:24 +0000] rev 4
Fixed bug in InteractiveHTMLFormatter
Interactive server by default
2013-07-17, by feb11 [Wed, 17 Jul 2013 11:07:06 +0000] rev 3
Interactive server by default
Initial import
2013-07-17, by feb11 [Wed, 17 Jul 2013 10:23:11 +0000] rev 2
Initial import