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

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

readme.txt

Committer:
cryptoc
Date:
2016-02-18
Revision:
3:26beaa8b94ce
Parent:
2:6d4f47f0341a

File content as of revision 3:26beaa8b94ce:

/**

xAP enabed one wire master Part II
Author: Zhongying Qiao
Date: 9th March 2014
Tested working 3rd March 2014 Qiao

Description of the program:

The program is intended for master-slave communication between mbed and DS1920 thermometer iButton

-> Program will first connect to Ethernet, display temperature info and device ID dynamically
onto a webpage: sockets.mbed.org/ choose 'ws' for channel 'georg' (see address in code below)

-> Once the temperature measurement exceeds a preset threshold, an Email is be sent by mbed to a gmail 
account. The simple SMTP client the program uses does not support SSL/TLS, therefore we use the alternative 
SMTP server aspmx.l.google.com provided by Google that works with TCP port 25. (It was orginally intended 
for printer/scanner without SSL/TLS capacity so as to send scanned files to user)

-> To see how the program can interact with twitter API to tweet via mbed, import program "xAP_enable_oneWire_Master_Part1";

**/