Demo app to read data from temperature sensor connected to STM-F411RE and send values to AT&T M2X Data Service via MTS shield.

Dependencies:   M2XStreamClient SocketModem jsonlite mbed

Fork of STM32_MTS_Wifi_Connect_M2X by AT&T Developer Summit Hackathon 2016

Files at this revision

API Documentation at this revision

Comitter:
jengbrecht
Date:
Sat Jan 04 20:29:00 2014 +0000
Parent:
4:6daf448c5b1c
Child:
6:7c2bdcf9d302
Commit message:
Updated the documentation in main

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Jan 04 06:02:38 2014 +0000
+++ b/main.cpp	Sat Jan 04 20:29:00 2014 +0000
@@ -3,10 +3,17 @@
 #include "Wifi.h"
 using namespace mts;
 
+/* This example shows how to do a basic connectivity test using
+* the MTS Wifi shield board. You will need to change the network
+* SSID and security key, unless you are at the 2014 AT&T hackathon
+* where you can use the defaults below.
+*/
+
 int main()
 {
+    //Set the network parameters
     std::string ssid = "belkin54g";
-    std::string securityKey = "";
+    std::string securityKey = "hackathon";
     Wifi::SecurityType securityType = Wifi::NONE;
 
     //Wait for wifi module to boot up