Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ESP8266Interface M2XStreamClient jsonlite mbed
Fork of M2X_K64F_Accel_ESP8266-wifi by
Revision 6:694279899cf2, committed 2015-12-11
- Comitter:
- mbedAustin
- Date:
- Fri Dec 11 00:58:10 2015 +0000
- Parent:
- 5:b3bcb048a5a5
- Commit message:
- made changes for Nucleo 411 with ESP8266
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 11 00:37:37 2015 +0000
+++ b/main.cpp Fri Dec 11 00:58:10 2015 +0000
@@ -3,17 +3,18 @@
#include "ESP8266Interface.h"
#include "TCPSocketConnection.h"
-//
-// Fill these field in from you ATT M2X Account
-//
-char deviceId[] = "<device id>"; // Device you want to push to
-char streamName[] = "<stream name>"; // Stream you want to push to
-char m2xKey[] = "<m2x api key>"; // Your M2X API Key or Master API Key
/*
* ESP8266 Wifi Config for nucleo 411
*/
-ESP8266Interface wifi(D8,D2,D3,"wifi-name","wifi-password",115200); // TX,RX,Reset,SSID,Password,Baud
+ESP8266Interface wifi(D8,D2,D3,"wifiName","wifiPassword",115200); // TX,RX,Reset,SSID,Password,Baud
+
+//
+// Fill these field in from you ATT M2X Account
+//
+char deviceId[] = "<deviceID>"; // Device you want to push to
+char streamName[] = "<streamID>"; // Stream you want to push to
+char m2xKey[] = "<deviceAPIKey>"; // Your M2X API Key or Master API Key
int main()
{
--- a/mbed.bld Fri Dec 11 00:37:37 2015 +0000 +++ b/mbed.bld Fri Dec 11 00:58:10 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/165afa46840b \ No newline at end of file
