16#ifndef _TEMP_MEAS_API_H_
17#define _TEMP_MEAS_API_H_
46#ifndef __bool_true_false_are_defined
47#define __bool_true_false_are_defined 1
61#define TEMP_MEAS_API_EXPORTS
62#ifdef TEMP_MEAS_API_EXPORTS
63#define TEMP_MEAS_API __declspec(dllexport)
65#define TEMP_MEAS_API __declspec(dllimport)
75#define TEMP_MEAS_CALLBACK(A, Y, Z) (A != NULL) ? A(Y, Z) : ((void)0)
78#define TEMP_MEAS_STR_SIZE 256
96 TEMP_MEAS_API_SUCCESS = 0,
98 TEMP_MEAS_API_INVALID_DBG_PARAMS,
99 TEMP_MEAS_API_DBG_DLL_ERROR,
101 TEMP_MEAS_API_READ_OK
void(* _callback_temp_meas)(int status, float temp)
Temperature measurement API callback function type definition.
TEMP_MEAS_API int temp_meas_api_measure(void)
Perform a temperature measurement and return the result with callbacks.
TEMP_MEAS_API int temp_meas_api_dbg_init(_dbg_params *dbg_params_t)
Temperature measurement instrument debug session initialize.
TEMP_MEAS_API int temp_meas_api_init(const char *iface, _callback_temp_meas callback_temp_meas)
Temperature measurement instrument initialize function.
TEMP_MEAS_API int temp_meas_api_close(void)
Temperature measurement instrument close function and free allocated resources.
TEMP_MEAS_API int temp_meas_api_dbg_close(void)
Temperature measurement instrument debug session close.
enum _TEMP_MEAS_API_STATUS_CODES TEMP_MEAS_API_STATUS_CODES
The temperature measurement instrument API return status codes.
_TEMP_MEAS_API_STATUS_CODES
The temperature measurement instrument API return status codes.
The main settings of the Debug DLL API.