|
ESP SDK C API
|
| Data Structures | |
| Error Handling | |
| enum ESP_ACCESS_MODE_T |
Functions | |
| ESPAPICALL int32_t | esp_event_get_category (const void *event, EspError *error) |
| ESPAPICALL int32_t | esp_sdk_start (EspError *error) |
| ESPAPICALL int32_t | esp_sdk_stop (EspError *error) |
| ESPAPICALL int32_t | esp_trace_on (EspError *error) |
| ESPAPICALL int32_t | esp_trace_off (EspError *error) |
| ESPAPICALL int32_t esp_event_get_category | ( | const void * | event, |
| EspError * | error | ||
| ) |
Returns the category of the event this void * represents. void * pointer must have been retrieved using esp_list_get_event method. This allows code to cast the void * to the appropriate event object such as EspServerEvent, EspProjectEvent, EspPublisherEvent or EspSubscriberEvent.
| ESPAPICALL int32_t esp_sdk_start | ( | EspError * | error | ) |
Initializes the SDK. Must be the first call made to use the API. Multiple start calls may be made, but they must be matched by the same number of stop calls.
| ESPAPICALL int32_t esp_sdk_stop | ( | EspError * | error | ) |
Shuts down the SDK. On the stop call matching the first start, closes all open entities, stops internal threads if any and releases any held resources.
| ESPAPICALL int32_t esp_trace_off | ( | EspError * | error | ) |
Turns off internal tracing.
| ESPAPICALL int32_t esp_trace_on | ( | EspError * | error | ) |
Turns on internal tracing for debugging.
1.7.5