using websocket to dynamic display sensor data on webpage; sends alert email from mbed.

Dependencies:   BroadcastSend EthernetInterface OneWire2 SimpleSMTPClient mbed-rpc mbed-rtos

Committer:
cryptoc
Date:
Thu Feb 18 18:34:12 2016 +0000
Revision:
0:9bb9ffde0d91
Child:
2:6d4f47f0341a
add project description readme.txt

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cryptoc 0:9bb9ffde0d91 1 xAP enabed one wire master Part II
cryptoc 0:9bb9ffde0d91 2 Author: Zhongying Qiao
cryptoc 0:9bb9ffde0d91 3 Date: 9th March 2014
cryptoc 0:9bb9ffde0d91 4 Tested working 3rd March 2014 Qiao
cryptoc 0:9bb9ffde0d91 5
cryptoc 0:9bb9ffde0d91 6 Description of the program:
cryptoc 0:9bb9ffde0d91 7
cryptoc 0:9bb9ffde0d91 8 The program is intended for master-slave communication between mbed and DS1920 thermometer iButton
cryptoc 0:9bb9ffde0d91 9
cryptoc 0:9bb9ffde0d91 10 -> Program will first connect to Ethernet, display temperature info and device ID dynamically
cryptoc 0:9bb9ffde0d91 11 onto a webpage: sockets.mbed.org/ choose 'ws' for channel 'georg' (see address in code below)
cryptoc 0:9bb9ffde0d91 12
cryptoc 0:9bb9ffde0d91 13 -> Once the temperature measurement exceeds a preset threshold, an Email is be sent by mbed to a gmail
cryptoc 0:9bb9ffde0d91 14 account. The simple SMTP client the program uses does not support SSL/TLS, therefore we use the alternative
cryptoc 0:9bb9ffde0d91 15 SMTP server aspmx.l.google.com provided by Google that works with TCP port 25. (It was orginally intended
cryptoc 0:9bb9ffde0d91 16 for printer/scanner without SSL/TLS capacity so as to send scanned files to user)
cryptoc 0:9bb9ffde0d91 17
cryptoc 0:9bb9ffde0d91 18 -> To see how the program can interact with twitter API to tweet via mbed, import program "xAP_enable_oneWire_Master_Part1";
cryptoc 0:9bb9ffde0d91 19