Andrew Boyson / Mbed 2 deprecated iot

Dependencies:   mbed

Revision:
0:09f915e6f9f6
Child:
3:accba7e07a0d
diff -r 000000000000 -r 09f915e6f9f6 explanation.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/explanation.txt	Wed Apr 13 09:21:02 2016 +0000
@@ -0,0 +1,40 @@
+main module
+===========
+Calls each module's init routines then loops through each module's main routines.
+
+esp module
+==========
+Raw character talking to the ESP 8266.
+Sends stings and data to the ESP.
+Receives characters from the ESP and treats the following cases:
+'\n'            -> sends a completed line
+'+IPD,id,len:'  -> reads in length bytes to the relevant id's input buffer
+'>'             -> sends the data to the id specified
+otherwise       -> adds to the current line
+
+at module
+=========
+Sends commands
+Depends on the esp module.
+
+wifi module
+===========
+Starts the esp module; doing the auto baud rate detection and logging in if needed.
+Depends on the at module.
+
+ntp module
+==========
+Sends periodic time requests.
+Handles received time responses and sets the system time.
+Depends on the at module.
+
+server module
+=============
+Responds to http requests
+Depends on the at module.
+
+support modules
+===============
+io   - inputs and outputs
+log  - provides logging
+time - maintains the system time
\ No newline at end of file