Example of using the Dragonfly HTTP library with the m2x http api
Dependencies: MbedJSONValue X_NUCLEO_IKS01A1 mbed mtsas_lat3
Fork of VVV_MultiTech_Dragonfly_ATT_Dallas by
Revision 12:493eba0c12c7, committed 2017-09-26
- Comitter:
- pferland
- Date:
- Tue Sep 26 04:56:39 2017 +0000
- Parent:
- 11:02bb993325b2
- Commit message:
- removed secure data
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 02bb993325b2 -r 493eba0c12c7 main.cpp --- a/main.cpp Tue Sep 26 04:55:36 2017 +0000 +++ b/main.cpp Tue Sep 26 04:56:39 2017 +0000 @@ -28,15 +28,15 @@ // Phone number to send SMS messages to // just change the x digits - the 1 needs to stay! -static const std::string phone_number = "18594335160"; //" NEED A NUMBER with a 1"; +static const std::string phone_number = " NEED A NUMBER with a 1"; // Keys needed by the m2x API // see more details here: https://m2x.att.com/developer/documentation/v2/overview // m2x device ID -static const std::string m2x_device_id = "e47069be38f20e5d2ca885d21aaa74c8"; +static const std::string m2x_device_id = ""; // M2X primary API key -static const std::string m2x_api_key = "db8e88f58b405811ad5340a9590b5d69"; +static const std::string m2x_api_key = ""; /* Instantiate the expansion board */ static X_NUCLEO_IKS01A1 *mems_expansion_board = X_NUCLEO_IKS01A1::Instance(I2C_SDA, I2C_SCL);