![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A simple project for sending button input up to AT&T Flow
Dependencies: FXOS8700CQ MODSERIAL mbed
For instructions on using this program, see the AT&T Starter Kit tutorial on it.
Diff: main.cpp
- Revision:
- 70:e25fe7e5488a
- Parent:
- 68:d38834307b17
- Child:
- 71:bcbc072b85e1
diff -r a99e384b720f -r e25fe7e5488a main.cpp --- a/main.cpp Tue Aug 09 23:48:44 2016 +0000 +++ b/main.cpp Tue Aug 09 23:55:37 2016 +0000 @@ -48,6 +48,13 @@ sprintf(modem_string, "serial:%s button1:%c button2:%c\r\n", M2X_DEVICE_SERIAL, btn1, btn2 ); + + // HTTP method + /*sprintf(modem_string, "GET %s%s?serial=%s&button1=%c&button2=%c %s%s\r\n\r\n", + FLOW_BASE_PATH, FLOW_INPUT_NAME, M2X_DEVICE_NAME, + btn1, btn2, + FLOW_URL_TYPE, MY_SERVER_NAME); */ + } //GenerateModemString