|
IOT-ESP32
|
Provides SmarThings and coordinates SmartApp/device discovery. More...
Functions | |
| void | smartthings_init () |
| Initialize SmartThings capabilities. More... | |
| http_response_t | st_api_request (http_client_t *, esp_http_client_method_t, char *) |
| Perform a REST command to our SmartApp API. More... | |
Provides SmarThings and coordinates SmartApp/device discovery.
| void smartthings_init | ( | ) |
Initialize SmartThings capabilities.
This will start the tasks required to peer with a SmartApp via the configure mDNS service name, to provide us with the necessary details for consuing the API
| http_response_t st_api_request | ( | http_client_t * | , |
| esp_http_client_method_t | , | ||
| char * | |||
| ) |
Perform a REST command to our SmartApp API.
Basic requests only need to provide a blank client instance. Alternatively provide some additional configuration to perform more involed requests.