extern int utc_bluetooth_bt_gatt_service_foreach_included_services_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_service_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_properties_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_set_properties_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_write_type_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_set_write_type_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_descriptor_n(void);
{"utc_bluetooth_bt_gatt_service_foreach_included_services_n", utc_bluetooth_bt_gatt_service_foreach_included_services_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_service_n", utc_bluetooth_bt_gatt_characteristic_get_service_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_properties_n", utc_bluetooth_bt_gatt_characteristic_get_properties_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_set_properties_n", utc_bluetooth_bt_gatt_characteristic_set_properties_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_write_type_n", utc_bluetooth_bt_gatt_characteristic_get_write_type_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_set_write_type_n", utc_bluetooth_bt_gatt_characteristic_set_write_type_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_descriptor_n", utc_bluetooth_bt_gatt_characteristic_get_descriptor_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
extern int utc_bluetooth_bt_gatt_service_foreach_included_services_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_service_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_properties_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_set_properties_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_write_type_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_set_write_type_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_descriptor_n(void);
{"utc_bluetooth_bt_gatt_service_foreach_included_services_n", utc_bluetooth_bt_gatt_service_foreach_included_services_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_service_n", utc_bluetooth_bt_gatt_characteristic_get_service_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_properties_n", utc_bluetooth_bt_gatt_characteristic_get_properties_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_set_properties_n", utc_bluetooth_bt_gatt_characteristic_set_properties_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_write_type_n", utc_bluetooth_bt_gatt_characteristic_get_write_type_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_set_write_type_n", utc_bluetooth_bt_gatt_characteristic_set_write_type_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_descriptor_n", utc_bluetooth_bt_gatt_characteristic_get_descriptor_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
extern int utc_bluetooth_bt_gatt_service_foreach_included_services_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_service_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_properties_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_set_properties_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_write_type_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_set_write_type_n(void);
extern int utc_bluetooth_bt_gatt_characteristic_get_descriptor_n(void);
{"utc_bluetooth_bt_gatt_service_foreach_included_services_n", utc_bluetooth_bt_gatt_service_foreach_included_services_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_service_n", utc_bluetooth_bt_gatt_characteristic_get_service_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_properties_n", utc_bluetooth_bt_gatt_characteristic_get_properties_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_set_properties_n", utc_bluetooth_bt_gatt_characteristic_set_properties_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_write_type_n", utc_bluetooth_bt_gatt_characteristic_get_write_type_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_set_write_type_n", utc_bluetooth_bt_gatt_characteristic_set_write_type_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_characteristic_get_descriptor_n", utc_bluetooth_bt_gatt_characteristic_get_descriptor_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
#include <string.h>
#include <system_info.h>
+#ifdef WEARABLE
+#include <bluetooth_extension.h>
+#endif
+
//& set: BluetoothAudioNegative
static int startup_flag = BT_ERROR_NONE;
#endif
-#if defined(MOBILE) || defined(COMMON_IOT)
+#if defined(MOBILE) || defined(COMMON_IOT) || defined(WEARABLE)
/**
* @testcase utc_bluetooth_bt_ag_open_sco_n
* @since_tizen 2.3
}
/**
- * @testcase utc_bluetooth_bt_gatt_characteristic_set_properties_n
- * @since_tizen 2.3
- * @description
- */
-int utc_bluetooth_bt_gatt_characteristic_set_properties_n(void)
-{
- bt_gatt_h characteristic = NULL;
- int properties = 0;
-
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_set_properties(characteristic, properties);
- assert_eq(ret, BT_ERROR_INVALID_PARAMETER);
- } else {
- ret = bt_gatt_characteristic_set_properties(characteristic, properties);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
* @testcase utc_bluetooth_bt_gatt_characteristic_get_write_type_n
* @since_tizen 2.3
* @description if bluetooth LE is supported and startup_flag is asserted then get the attribute write type of the given