char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_create(0, NULL, NULL, NULL);
CHECK_RETURN("ua_device_create", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_create(0, NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_create", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_destroy(NULL);
CHECK_RETURN("ua_device_destroy", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_destroy(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_destroy", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
ua_mac_type_e mac_type = UA_MAC_TYPE_INVALID;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_mac_type(NULL, NULL);
CHECK_RETURN("ua_device_get_mac_type", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_mac_type(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_mac_type", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_set_os_info(NULL, 0);
CHECK_RETURN("ua_device_set_os_info", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_set_os_info(NULL, 0);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_set_os_info", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
ua_os_type_e ostype = UA_OS_TYPE_NOT_DEFINED;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_os_info(NULL, NULL);
CHECK_RETURN("ua_device_get_os_info", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_os_info(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_os_info", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
char *mac = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_mac_address(NULL, NULL);
CHECK_RETURN("ua_device_get_mac_address", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_mac_address(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_mac_address", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
char *device_id = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_device_id(NULL, NULL);
CHECK_RETURN("ua_device_get_device_id", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_device_id(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_device_id", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
char wifi_bssid[] = {"30:AB:6A:09:1B:4C"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_set_wifi_bssid(NULL, NULL);
CHECK_RETURN("ua_device_set_wifi_bssid", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_set_wifi_bssid(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_set_wifi_bssid", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
char *wifi_bssid = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_wifi_bssid(NULL, NULL);
CHECK_RETURN("ua_device_get_wifi_bssid", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_wifi_bssid(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_wifi_bssid", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
char ipv4_address[] = {"192.168.107.10"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_set_wifi_ipv4_address(NULL, NULL);
CHECK_RETURN("ua_device_set_wifi_ipv4_address", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_set_wifi_ipv4_address(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_set_wifi_ipv4_address", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
char *ipv4_address = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_wifi_ipv4_address(NULL, NULL);
CHECK_RETURN("ua_device_get_wifi_ipv4_address", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_wifi_ipv4_address(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_wifi_ipv4_address", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
unsigned long long last_seen = 0;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_last_presence(NULL, NULL);
CHECK_RETURN("ua_device_get_last_presence", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_last_presence(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_last_presence", ret, UA_ERROR_NOT_SUPPORTED);
char device_id_str[] = {"18:54:CF:06:37:FE"};
bool required = false;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_pairing_required(NULL, NULL);
CHECK_RETURN("ua_device_get_last_presence", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_pairing_required(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_pairing_required", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_update(NULL);
CHECK_RETURN("ua_device_update", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_update(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_update", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_by_mac_address(NULL, NULL);
CHECK_RETURN("ua_device_get_by_mac_address", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_by_mac_address(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_by_mac_address", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_device_get_by_device_id(NULL, 0, NULL);
CHECK_RETURN("ua_device_get_by_device_id", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_device_get_by_device_id(NULL, 0, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_device_get_by_device_id", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_create(NULL);
CHECK_RETURN("ua_monitor_create", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_create(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_create", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_destroy(NULL);
CHECK_RETURN("ua_monitor_destroy", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_destroy(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_destroy", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_add_sensor(NULL, UA_SENSOR_WIFI);
CHECK_RETURN("ua_monitor_add_sensor", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_add_sensor(NULL, UA_SENSOR_WIFI);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_add_sensor", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_remove_sensor(NULL, UA_SENSOR_WIFI);
CHECK_RETURN("ua_monitor_remove_sensor", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_remove_sensor(NULL, UA_SENSOR_WIFI);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_remove_sensor", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_foreach_sensor(NULL, NULL, NULL);
CHECK_RETURN("ua_monitor_foreach_sensor", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_foreach_sensor(NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_foreach_sensor", ret, UA_ERROR_NOT_SUPPORTED);
ua_monitor_h ua_mon_h = NULL;
bool available = false;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_is_sensor_available(UA_SENSOR_WIFI, NULL);
CHECK_RETURN("ua_monitor_foreach_sensor", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_is_sensor_available(UA_SENSOR_WIFI, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_is_sensor_available", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_set_sensor_status_changed_cb(NULL, NULL, NULL);
CHECK_RETURN("ua_monitor_set_sensor_status_changed_cb", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_set_sensor_status_changed_cb(NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_set_sensor_status_changed_cb", ret, UA_ERROR_NOT_SUPPORTED);
int ret = UA_ERROR_NONE;
ua_monitor_h ua_mon_h = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_unset_sensor_status_changed_cb(NULL);
CHECK_RETURN("ua_monitor_unset_sensor_status_changed_cb", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_unset_sensor_status_changed_cb(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_unset_sensor_status_changed_cb", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_start_scan(NULL, 0, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_start_scan", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_stop_scan(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_stop_scan", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_start_presence_detection(NULL, NULL, 0, NULL, NULL);
CHECK_RETURN("ua_monitor_start_presence_detection", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_start_presence_detection(NULL, NULL, 0, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_start_presence_detection", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_stop_presence_detection(NULL);
CHECK_RETURN("ua_monitor_stop_presence_detection", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_stop_presence_detection(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_stop_presence_detection", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_start_absence_detection(NULL, NULL, 0, NULL, NULL);
CHECK_RETURN("ua_monitor_start_absence_detection", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_start_absence_detection(NULL, NULL, 0, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_start_absence_detection", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_monitor_stop_absence_detection(NULL);
CHECK_RETURN("ua_monitor_stop_absence_detection", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_monitor_stop_absence_detection(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_monitor_stop_absence_detection", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_sensor_get_status(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_sensor_get_status", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_sensor_get_timestamp(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_sensor_get_timestamp", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_sensor_get_type(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_sensor_get_type", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_create(NULL, NULL);
CHECK_RETURN("ua_service_create", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_create(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_create", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_destroy(NULL);
CHECK_RETURN("ua_service_destroy", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_destroy(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_destroy", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_add(NULL);
CHECK_RETURN("ua_service_add", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_add(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_add", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_update(NULL);
CHECK_RETURN("ua_service_update", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_update(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_update", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_remove(NULL);
CHECK_RETURN("ua_service_remove", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_remove(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_remove", ret, UA_ERROR_NOT_SUPPORTED);
char service_str[] = {"ua.service.default"};
char *service_name = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_get_name(NULL, NULL);
CHECK_RETURN("ua_service_get_name", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_get_name(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_get_name", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_set_detection_threshold(NULL, 0, 0);
CHECK_RETURN("ua_service_set_detection_threshold", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_set_detection_threshold(NULL, 0, 0);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_set_detection_threshold", ret, UA_ERROR_NOT_SUPPORTED);
unsigned int presence_threshold = 0;
unsigned int absence_threshold = 0;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_get_detection_threshold(NULL, NULL, NULL);
CHECK_RETURN("ua_service_get_detection_threshold", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_get_detection_threshold(NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_get_detection_threshold", ret, UA_ERROR_NOT_SUPPORTED);
char service_str[] = {"ua.service.default"};
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_get_user_by_account(NULL, NULL, NULL);
CHECK_RETURN("ua_service_get_detection_threshold", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_get_user_by_account(NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_get_user_by_account", ret, UA_ERROR_NOT_SUPPORTED);
char service_str[] = {"ua.service.default"};
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_add_user(NULL, NULL);
CHECK_RETURN("ua_service_add_user", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_add_user(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_add_user", ret, UA_ERROR_NOT_SUPPORTED);
char service_str[] = {"ua.service.default"};
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_remove_user(NULL, NULL);
CHECK_RETURN("ua_service_remove_user", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_remove_user(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_remove_user", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_service_foreach_users(NULL, NULL, NULL);
CHECK_RETURN("ua_service_foreach_users", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_service_foreach_users(NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_service_foreach_users", ret, UA_ERROR_NOT_SUPPORTED);
ua_user_h user_h = NULL;
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_create(NULL, NULL);
CHECK_RETURN("ua_user_create", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_create(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_create", ret, UA_ERROR_NOT_SUPPORTED);
ua_user_h user_h = NULL;
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_destroy(NULL);
CHECK_RETURN("ua_user_destroy", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_destroy(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_destroy", ret, UA_ERROR_NOT_SUPPORTED);
ua_user_h user_h = NULL;
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_add(NULL);
CHECK_RETURN("ua_user_add", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_add(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_add", ret, UA_ERROR_NOT_SUPPORTED);
ua_user_h user_h = NULL;
char user_account_str[] = {"default@default.com"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_remove(NULL);
CHECK_RETURN("ua_user_remove", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_remove(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_remove", ret, UA_ERROR_NOT_SUPPORTED);
char user_account_str[] = {"default@default.com"};
char *account = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_get_account(NULL, NULL);
CHECK_RETURN("ua_user_get_account", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_get_account(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_get_account", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_add_device(NULL, NULL, NULL, NULL);
CHECK_RETURN("ua_user_add_device", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_add_device(NULL, NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_add_device", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_remove_device(NULL, NULL);
CHECK_RETURN("ua_user_remove_device", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_remove_device(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_remove_device", ret, UA_ERROR_NOT_SUPPORTED);
char mac_addr_str[] = {"30:AB:6A:09:1B:4C"};
char device_id_str[] = {"18:54:CF:06:37:FE"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_user_foreach_devices(NULL, NULL, NULL);
CHECK_RETURN("ua_user_foreach_devices", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_user_foreach_devices(NULL, NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_user_foreach_devices", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_foreach_service(NULL, NULL);
CHECK_RETURN("ua_foreach_service", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_foreach_service(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_foreach_service", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h service_h = NULL;
char *name = NULL;
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_get_default_service(NULL);
CHECK_RETURN("ua_get_default_service", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_get_default_service(NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_get_default_service", ret, UA_ERROR_NOT_SUPPORTED);
ua_service_h get_service_h = NULL;
char service_str[] = {"ua.service.default"};
- CHECK_INIT_RETURN();
-
if (!ua_is_feature_supported()) {
ret = ua_get_service_by_name(NULL, NULL);
CHECK_RETURN("ua_get_service_by_name", ret, UA_ERROR_NOT_SUPPORTED);
{
int ret = UA_ERROR_NONE;
- CHECK_INIT_RETURN();
-
ret = ua_get_service_by_name(NULL, NULL);
if (!ua_is_feature_supported()) {
CHECK_RETURN("ua_get_service_by_name", ret, UA_ERROR_NOT_SUPPORTED);