| 
    Open Storm
    
   | 
 
Declares functions for sending requests to various services including Xively, Thingspeak and CHORDS. More...

Go to the source code of this file.
Functions | |
| int | construct_data_body (char *data_packet, char *labels[], float readings[], int nvars, int service_flag) | 
| Constructs body of POST request for various services.  More... | |
| void | construct_data_post_request (char *body, char *socket_dial_str, char *send_str, int service_flag) | 
| Constructs full POST request for various services.  More... | |
Declares functions for sending requests to various services including Xively, Thingspeak and CHORDS.
| int construct_data_body | ( | char * | data_packet, | 
| char * | labels[], | ||
| float | readings[], | ||
| int | nvars, | ||
| int | service_flag | ||
| ) | 
Constructs body of POST request for various services.
| data_packet | Empty buffer to store POST request body | 
| labels | Array to store labels corresponding to each trigger result | 
| readings | Array to store trigger results as floating point values | 
| nvars | Maximum size of label and reading arrays (number of entries) | 
| service_flag | Service to use:
  | 
| void construct_data_post_request | ( | char * | body, | 
| char * | socket_dial_str, | ||
| char * | send_str, | ||
| int | service_flag | ||
| ) | 
Constructs full POST request for various services.
| body | Empty buffer to store POST request body | 
| socket_dial_str | Buffer to store socket dial string | 
| send_str | Buffer to store entire request, including headers | 
| service_flag | Service to use:
  | 
 1.8.11