Andrew Boyson / Mbed 2 deprecated iot

Dependencies:   mbed

explanation.txt

Committer:
andrewboyson
Date:
2016-04-23
Revision:
3:accba7e07a0d
Parent:
0:09f915e6f9f6
Child:
6:be97d38e0b01

File content as of revision 3:accba7e07a0d:

  1      9600
  1 O   14400
  2     19200
  2 O   28800
  4     38400
  4 O   57600
  8     74880
  8 O  115200
 16    153600
 16 O  230400
 32    307200
 32 O  460800
 64    614400
 64 O  921600


main module
===========
Calls each module's init routines then loops through each module's main routines.

uart module
===========
Queues characters received through an interrupt for retrieval at leisure.
Sends characters queued for transmission every scan

esp module
==========
Raw character talking to the ESP 8266.
Sends strings 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