Simple IoT Board用のIFTTTのMaker Channelに繋げるためのサンプルです。
Dependencies: SimpleIoTBoardLib mbed
IFTTT Class Reference
The IFTTT class (if this then that) More...
#include <ifttt.h>
Public Member Functions | |
IFTTT (const char *event, const char *key, TCPSocketConnection *s=NULL) | |
Constructor, initialize the Event Name and Secret Key to be used. | |
bool | addIngredients (char *v1=NULL, char *v2=NULL, char *v3=NULL) |
Add ingredients (values) to be sent to maker.ifttt.com. | |
bool | addIngredients (int v1=NULL, int v2=NULL, int v3=NULL) |
Add ingredients (values) to be sent to maker.ifttt.com. | |
bool | trigger (int triggerType=IFTTT_POST) |
Send data via POST or GET to maker.ifttt.com. |
Detailed Description
The IFTTT class (if this then that)
Definition at line 40 of file ifttt.h.
Constructor & Destructor Documentation
IFTTT | ( | const char * | event, |
const char * | key, | ||
TCPSocketConnection * | s = NULL |
||
) |
Member Function Documentation
bool addIngredients | ( | char * | v1 = NULL , |
char * | v2 = NULL , |
||
char * | v3 = NULL |
||
) |
bool addIngredients | ( | int | v1 = NULL , |
int | v2 = NULL , |
||
int | v3 = NULL |
||
) |
Add ingredients (values) to be sent to maker.ifttt.com.
- Parameters:
-
v1 value 1 to send v2 value 2 to send v3 value 3 to send
- Returns:
- true if successful, false if failed
Generated on Tue Jul 12 2022 18:14:19 by 1.7.2