![]() |
API
2.2
TSmarT Software Library
|
External configuration for a trigger. More...
#include <tsmart_carriots.h>
Data Fields | |
uint8_t * | url |
uint8_t | verb [PR_TSMART_CARRIOTS_VERB_SIZE] |
tsmart_carriots_addiotional_header_t * | add_header |
uint8_t | n_headers |
uint8_t | payload [PR_TSMART_CARRIOTS_TRIGGER_PAYLOAD] |
External configuration for a trigger.
tsmart_carriots_addiotional_header_t* add_header |
Pointer to additional header
uint8_t n_headers |
Number of addition headers
uint8_t payload[PR_TSMART_CARRIOTS_TRIGGER_PAYLOAD] |
Message to send when a trigger happends
uint8_t* url |
URL to push the data. It must be finished with NULL character and it will be the path without "http://". ie: "api.carriots.com" or "192.168.100.10"
uint8_t verb[PR_TSMART_CARRIOTS_VERB_SIZE] |
HTTP command: