extern int utc_bluetooth_bt_gatt_client_unset_characteristic_value_changed_cb_n(void);
extern int utc_bluetooth_bt_gatt_client_get_service_n(void);
extern int utc_bluetooth_bt_gatt_client_foreach_services_n(void);
-extern int utc_bluetooth_bt_gatt_service_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_descriptor_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_get_permissions_n(void);
-extern int utc_bluetooth_bt_gatt_descriptor_get_permissions_n(void);
-extern int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n(void);
-extern int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n(void);
-extern int utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n(void);
-extern int utc_bluetooth_bt_gatt_server_start_n(void);
extern int utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p(void);
extern int utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p(void);
-extern int utc_bluetooth_bt_gatt_service_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_characteristic_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_descriptor_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_characteristic_get_permissionis_p(void);
-extern int utc_bluetooth_bt_gatt_descriptor_get_permissionis_p(void);
-extern int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p(void);
-extern int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p(void);
-extern int utc_bluetooth_bt_gatt_server_start_p(void);
extern int utc_bluetooth_bt_hdp_set_data_received_cb_n(void);
extern int utc_bluetooth_bt_hdp_set_data_received_cb_n1(void);
extern int utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n(void);
{"utc_bluetooth_bt_gatt_client_unset_characteristic_value_changed_cb_n", utc_bluetooth_bt_gatt_client_unset_characteristic_value_changed_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_client_get_service_n", utc_bluetooth_bt_gatt_client_get_service_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_client_foreach_services_n", utc_bluetooth_bt_gatt_client_foreach_services_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_service_destroy_n", utc_bluetooth_bt_gatt_service_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_destroy_n", utc_bluetooth_bt_gatt_characteristic_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_destroy_n", utc_bluetooth_bt_gatt_descriptor_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_get_permission_n", utc_bluetooth_bt_gatt_characteristic_get_permission_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_get_permission_n", utc_bluetooth_bt_gatt_descriptor_get_permission_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n", utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n", utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n", utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_start_n", utc_bluetooth_bt_gatt_server_start_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p", utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p", utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_service_destroy_p", utc_bluetooth_bt_gatt_service_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_destroy_p", utc_bluetooth_bt_gatt_characteristic_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_destroy_p", utc_bluetooth_bt_gatt_descriptor_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_get_permission_p", utc_bluetooth_bt_gatt_characteristic_get_permission_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_get_permission_p", utc_bluetooth_bt_gatt_descriptor_get_permission_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p", utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p", utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_start_p", utc_bluetooth_bt_gatt_server_start_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_hdp_set_data_received_cb_n", utc_bluetooth_bt_hdp_set_data_received_cb_n, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
{"utc_bluetooth_bt_hdp_set_data_received_cb_n1", utc_bluetooth_bt_hdp_set_data_received_cb_n1, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
{"utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n", utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
extern int utc_bluetooth_bt_gatt_read_characteristic_value_n(void);
extern int utc_bluetooth_bt_gatt_set_characteristic_value_request_n(void);
extern int utc_bluetooth_bt_gatt_discover_characteristic_descriptor_n(void);
-extern int utc_bluetooth_bt_gatt_service_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_descriptor_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_get_permissions_n(void);
-extern int utc_bluetooth_bt_gatt_descriptor_get_permissions_n(void);
-extern int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n(void);
-extern int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n(void);
-extern int utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n(void);
-extern int utc_bluetooth_bt_gatt_server_start_n(void);
extern int utc_bluetooth_bt_gatt_set_characteristic_changed_cb_p(void);
extern int utc_bluetooth_bt_gatt_unset_characteristic_changed_cb_p(void);
extern int utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p(void);
extern int utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p(void);
-extern int utc_bluetooth_bt_gatt_service_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_characteristic_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_descriptor_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_characteristic_get_permissionis_p(void);
-extern int utc_bluetooth_bt_gatt_descriptor_get_permissionis_p(void);
-extern int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p(void);
-extern int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p(void);
-extern int utc_bluetooth_bt_gatt_server_start_p(void);
extern int utc_bluetooth_bt_hdp_set_data_received_cb_n(void);
extern int utc_bluetooth_bt_hdp_set_data_received_cb_n1(void);
extern int utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n(void);
{"utc_bluetooth_bt_gatt_read_characteristic_value_n", utc_bluetooth_bt_gatt_read_characteristic_value_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_set_characteristic_value_request_n", utc_bluetooth_bt_gatt_set_characteristic_value_request_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_discover_characteristic_descriptor_n", utc_bluetooth_bt_gatt_discover_characteristic_descriptor_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_service_destroy_n", utc_bluetooth_bt_gatt_service_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_destroy_n", utc_bluetooth_bt_gatt_characteristic_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_destroy_n", utc_bluetooth_bt_gatt_descriptor_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_get_permission_n", utc_bluetooth_bt_gatt_characteristic_get_permission_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_get_permission_n", utc_bluetooth_bt_gatt_descriptor_get_permission_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n", utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n", utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n", utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_start_n", utc_bluetooth_bt_gatt_server_start_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_set_characteristic_changed_cb_p", utc_bluetooth_bt_gatt_set_characteristic_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_gatt_unset_characteristic_changed_cb_p", utc_bluetooth_bt_gatt_unset_characteristic_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p", utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p", utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_service_destroy_p", utc_bluetooth_bt_gatt_service_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_destroy_p", utc_bluetooth_bt_gatt_characteristic_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_destroy_p", utc_bluetooth_bt_gatt_descriptor_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_get_permission_p", utc_bluetooth_bt_gatt_characteristic_get_permission_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_get_permission_p", utc_bluetooth_bt_gatt_descriptor_get_permission_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p", utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p", utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_start_p", utc_bluetooth_bt_gatt_server_start_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_hdp_set_data_received_cb_n", utc_bluetooth_bt_hdp_set_data_received_cb_n, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
{"utc_bluetooth_bt_hdp_set_data_received_cb_n1", utc_bluetooth_bt_hdp_set_data_received_cb_n1, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
{"utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n", utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
extern int utc_bluetooth_bt_gatt_client_unset_characteristic_value_changed_cb_n(void);
extern int utc_bluetooth_bt_gatt_client_get_service_n(void);
extern int utc_bluetooth_bt_gatt_client_foreach_services_n(void);
-extern int utc_bluetooth_bt_gatt_service_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_descriptor_destroy_n(void);
-extern int utc_bluetooth_bt_gatt_characteristic_get_permissions_n(void);
-extern int utc_bluetooth_bt_gatt_descriptor_get_permissions_n(void);
-extern int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n(void);
-extern int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n(void);
-extern int utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n(void);
-extern int utc_bluetooth_bt_gatt_server_start_n(void);
extern int utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p(void);
extern int utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p(void);
-extern int utc_bluetooth_bt_gatt_service_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_characteristic_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_descriptor_destroy_p(void);
-extern int utc_bluetooth_bt_gatt_characteristic_get_permissionis_p(void);
-extern int utc_bluetooth_bt_gatt_descriptor_get_permissionis_p(void);
-extern int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p(void);
-extern int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p(void);
-extern int utc_bluetooth_bt_gatt_server_start_p(void);
extern int utc_bluetooth_bt_hdp_set_data_received_cb_n(void);
extern int utc_bluetooth_bt_hdp_set_data_received_cb_n1(void);
extern int utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n(void);
{"utc_bluetooth_bt_gatt_client_unset_characteristic_value_changed_cb_n", utc_bluetooth_bt_gatt_client_unset_characteristic_value_changed_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_client_get_service_n", utc_bluetooth_bt_gatt_client_get_service_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_client_foreach_services_n", utc_bluetooth_bt_gatt_client_foreach_services_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_service_destroy_n", utc_bluetooth_bt_gatt_service_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_destroy_n", utc_bluetooth_bt_gatt_characteristic_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_destroy_n", utc_bluetooth_bt_gatt_descriptor_destroy_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_get_permission_n", utc_bluetooth_bt_gatt_characteristic_get_permission_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_get_permission_n", utc_bluetooth_bt_gatt_descriptor_get_permission_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n", utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n", utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n", utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
- {"utc_bluetooth_bt_gatt_server_start_n", utc_bluetooth_bt_gatt_server_start_n, utc_bluetooth_gatt_negative_startup, utc_bluetooth_gatt_negative_cleanup},
{"utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p", utc_bluetooth_bt_gatt_set_connection_state_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p", utc_bluetooth_bt_gatt_unset_connection_state_changed_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_service_destroy_p", utc_bluetooth_bt_gatt_service_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_destroy_p", utc_bluetooth_bt_gatt_characteristic_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_destroy_p", utc_bluetooth_bt_gatt_descriptor_destroy_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_characteristic_get_permission_p", utc_bluetooth_bt_gatt_characteristic_get_permission_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_descriptor_get_permission_p", utc_bluetooth_bt_gatt_descriptor_get_permission_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p", utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p", utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
- {"utc_bluetooth_bt_gatt_server_start_p", utc_bluetooth_bt_gatt_server_start_p, utc_bluetooth_gatt_positive_startup, utc_bluetooth_gatt_positive_cleanup},
{"utc_bluetooth_bt_hdp_set_data_received_cb_n", utc_bluetooth_bt_hdp_set_data_received_cb_n, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
{"utc_bluetooth_bt_hdp_set_data_received_cb_n1", utc_bluetooth_bt_hdp_set_data_received_cb_n1, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
{"utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n", utc_bluetooth_bt_hdp_set_connection_state_changed_cb_n, utc_bluetooth_hdp_negative_startup, utc_bluetooth_hdp_negative_cleanup},
return 0;
}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_service_destroy_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then destroy the service handle,
- * by using the invalid parameters and check for errors.
- * @scenario Try to destroy the service handle,
- * where the parameters passed are invalid.
- */
-int utc_bluetooth_bt_gatt_service_destroy_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_service_destroy(NULL);
- assert_eq(ret, BT_ERROR_INVALID_PARAMETER);
- } else {
- ret = bt_gatt_service_destroy(NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_characteristic_destroy_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then destroy the characteristic handle,
- * by using the invalid parameters and check for errors.
- * @scenario Try to destroy the characteristic handle,
- * where the parameters passed are invalid.
- */
-int utc_bluetooth_bt_gatt_characteristic_destroy_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_destroy(NULL);
- assert_eq(ret, BT_ERROR_INVALID_PARAMETER);
- } else {
- ret = bt_gatt_characteristic_destroy(NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_descriptor_destroy_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then destroy the descriptor handle,
- * by using the invalid parameters and check for errors.
- * @scenario Try to destroy the descriptor handle,
- * where the parameters passed are invalid.
- */
-int utc_bluetooth_bt_gatt_descriptor_destroy_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_descriptor_destroy(NULL);
- assert_eq(ret, BT_ERROR_INVALID_PARAMETER);
- } else {
- ret = bt_gatt_descriptor_destroy(NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_characteristic_get_permissions_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then get the characteristic's permission,
- * by using the invalid parameters and check for errors.
- * @scenario Try to get the characteristic's permission,
- * where the parameters passed are invalid.
- */
-int utc_bluetooth_bt_gatt_characteristic_get_permissions_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_get_permissions(NULL, NULL);
- assert_eq(ret, BT_ERROR_INVALID_PARAMETER);
- } else {
- ret = bt_gatt_characteristic_get_permissions(NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_descriptor_get_permissions_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then get the descriptor's permission,
- * by using the invalid parameters and check for errors.
- * @scenario Try to get the descriptor's permission,
- * where the parameters passed are invalid.
- */
-int utc_bluetooth_bt_gatt_descriptor_get_permissions_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_descriptor_get_permissions(NULL, NULL);
- assert_eq(ret, BT_ERROR_INVALID_PARAMETER);
- } else {
- ret = bt_gatt_descriptor_get_permissions(NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, i
- * then deinitialize the bluetooth and register a callback function to be invoked
- * when the remote device enables or disables the Notification/Indication for particular characteristics and check for errors.
- * @scenario Try to register a callback function to be invoked
- * when the remote device enables or disables the Notification/Indication for particular characteristics and check for errors
- * after bluetooth de-initialization.
- */
-int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_n(void)
-{
- bt_gatt_h characteristic = NULL;
-
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_deinitialize();
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_set_characteristic_notification_state_change_cb(characteristic, NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_INITIALIZED);
- } else {
- ret = bt_gatt_server_set_characteristic_notification_state_change_cb(characteristic, NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then deinitialize the bluetooth and
- * register a callback function to be invoked when a write request is issued and check for errors.
- * @scenario Try to register a callback function to be invoked when a write request is issued after bluetooth de-initialization.
- */
-int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_n(void)
-{
- bt_gatt_h characteristic = NULL;
-
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_deinitialize();
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_set_write_value_requested_cb(characteristic, NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_INITIALIZED);
- } else {
- ret = bt_gatt_server_set_write_value_requested_cb(characteristic, NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then deinitialize the bluetooth and
- * notify value change of the characteristic to the remote device and check for errors.
- * @scenario Try to notify value change of the characteristic to the remote device after bluetooth de-initialization.
- */
-int utc_bluetooth_bt_gatt_server_notify_characteristic_changed_value_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_deinitialize();
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_notify_characteristic_changed_value(NULL, NULL, NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_INITIALIZED);
- } else {
- ret = bt_gatt_server_notify_characteristic_changed_value(NULL, NULL, NULL, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_start_n
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted, then deinitialize the bluetooth and
- * start a server and check for errors.
- * @scenario Try to start a server after bluetooth de-initialization.
- */
-int utc_bluetooth_bt_gatt_server_start_n(void)
-{
- if(le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_deinitialize();
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_start();
- assert_eq(ret, BT_ERROR_NOT_INITIALIZED);
- } else {
- ret = bt_gatt_server_start();
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
#endif
return 0;
}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_service_destroy_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted then the GATT service handle is destroyed
- * and checked for errors.
- * scenario Call to destroy GATT service handle.
- */
-int utc_bluetooth_bt_gatt_service_destroy_p(void)
-{
- bt_gatt_h service = NULL;
- char *service_uuid = "180f"; /* Battery Service */
- bt_gatt_service_type_e service_type = BT_GATT_SERVICE_TYPE_PRIMARY;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_service_create(service_uuid, service_type, &service);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_service_destroy(service);
- assert_eq(ret, BT_ERROR_NONE);
- } else {
- ret = bt_gatt_service_destroy(service);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_characteristic_destroy_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted then the GATT characteristic handle is destroyed
- * and checked for errors.
- * scenario Call to destroy GATT characteristic handle.
- */
-int utc_bluetooth_bt_gatt_characteristic_destroy_p(void)
-{
- bt_gatt_h characteristic = NULL;
- char *char_uuid = "2a19"; /* Battery Level */
- char char_value[1] = {80}; /* 80% */
- bt_gatt_property_e properties = BT_GATT_PROPERTY_READ | BT_GATT_PROPERTY_NOTIFY;
- bt_gatt_permission_e permissions = BT_GATT_PERMISSION_READ;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_create(char_uuid, permissions, properties, char_value, sizeof(char_value), &characteristic);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_destroy(characteristic);
- assert_eq(ret, BT_ERROR_NONE);
- } else {
- ret = bt_gatt_characteristic_destroy(characteristic);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_descriptor_destroy_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted then the GATT descriptor handle is destroyed
- * and checked for errors.
- * scenario Call to destroy GATT descriptor handle.
- */
-int utc_bluetooth_bt_gatt_descriptor_destroy_p(void)
-{
- bt_gatt_h descriptor = NULL;
- char *desc_uuid = "2902";
- char desc_value[2] = {0, 0}; /* Notification & Indication */
- bt_gatt_permission_e permissions = BT_GATT_PERMISSION_READ | BT_GATT_PERMISSION_WRITE;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_descriptor_create(desc_uuid, permissions, desc_value, sizeof(desc_value), &descriptor);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_descriptor_destroy(descriptor);
- assert_eq(ret, BT_ERROR_NONE);
- } else {
- ret = bt_gatt_descriptor_destroy(descriptor);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_characteristic_get_permissions_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted. If yes, create characteristic's handle and get characteristic's permission then ensure there is no error.
- * And then, destroy the characteristic's handle.
- * Else, get characteristic's permission and verify result as BT_ERROR_NOT_SUPPORTED.
- * scenario Check if bluetooth LE is supported and startup_flag is asserted. Then, call bt_gatt_characteristic_get_permissions and check for BT_ERROR_NOE.
- */
-int utc_bluetooth_bt_gatt_characteristic_get_permissionis_p(void)
-{
- bt_gatt_h characteristic = NULL;
- char *char_uuid = "2a19"; /* Battery Level */
- char char_value[1] = {80}; /* 80% */
- bt_gatt_property_e properties = BT_GATT_PROPERTY_READ | BT_GATT_PROPERTY_NOTIFY;
- bt_gatt_permission_e permissions = BT_GATT_PERMISSION_READ;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_create(char_uuid, permissions, properties, char_value, sizeof(char_value), &characteristic);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_get_permissions(characteristic, &permissions);
- if (ret != BT_ERROR_NONE)
- bt_gatt_characteristic_destroy(characteristic);
-
- assert_eq(ret, BT_ERROR_NONE);
- bt_gatt_characteristic_destroy(characteristic);
- } else {
- ret = bt_gatt_characteristic_get_permissions(characteristic, &permissions);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_descriptor_get_permissions_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted. If yes, create descriptor's handle and get descriptor's permission then ensure there is no error.
- * And then, destroy the descriptor's handle.
- * Else, get descriptor's permission and verify result as BT_ERROR_NOT_SUPPORTED.
- * scenario Check if bluetooth LE is supported and startup_flag is asserted. Then, call bt_gatt_descriptor_get_permissions and check for BT_ERROR_NOE.
- */
-int utc_bluetooth_bt_gatt_descriptor_get_permissionis_p(void)
-{
- bt_gatt_h descriptor = NULL;
- char *desc_uuid = "2902";
- char desc_value[2] = {0, 0}; /* Notification & Indication */
- bt_gatt_permission_e permissions = BT_GATT_PERMISSION_READ | BT_GATT_PERMISSION_WRITE;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_descriptor_create(desc_uuid, permissions, desc_value, sizeof(desc_value), &descriptor);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_descriptor_get_permissions(descriptor, &permissions);
- if (ret != BT_ERROR_NONE)
- bt_gatt_descriptor_destroy(descriptor);
-
- assert_eq(ret, BT_ERROR_NONE);
- bt_gatt_descriptor_destroy(descriptor);
- } else {
- ret = bt_gatt_descriptor_get_permissions(descriptor, &permissions);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted.
- * If yes, create GATT characteristic handle. Then, register a callback function to invoked when the remote device
- * enables or disables the Notification/Indication for particular characteristics and ensure there is no error.
- * Else, register a callback function and verify result as BT_ERROR_NOT_SUPPORTED.
- * scenario Check if bluetooth LE is supported and startup_flag is asserted. Then, call bt_gatt_server_set_characteristic_notification_state_change_cb on the device and check for BT_ERROR_NOE.
- */
-int utc_bluetooth_bt_gatt_server_set_characteristic_notification_state_change_cb_p(void)
-{
- bt_gatt_h characteristic = NULL;
- char *char_uuid = "2a19"; /* Battery Level */
- char char_value[1] = {80}; /* 80% */
- bt_gatt_property_e properties = BT_GATT_PROPERTY_READ | BT_GATT_PROPERTY_NOTIFY;
- bt_gatt_permission_e permissions = BT_GATT_PERMISSION_READ;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_create(char_uuid, permissions, properties, char_value, sizeof(char_value), &characteristic);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_set_characteristic_notification_state_change_cb(characteristic, __bt_gatt_server_notification_state_change_cb_p, NULL);
- if (ret != BT_ERROR_NONE)
- bt_gatt_characteristic_destroy(characteristic);
-
- assert_eq(ret, BT_ERROR_NONE);
- bt_gatt_characteristic_destroy(characteristic);
- } else {
- ret = bt_gatt_server_set_characteristic_notification_state_change_cb(characteristic, __bt_gatt_server_notification_state_change_cb_p, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted.
- * If yes, create GATT characteristic handle. Then, register a callback function to invoked when a value of
- * characteristic has been changed cnd ensure there is no error.
- * Else, register a callback function and verify result as BT_ERROR_NOT_SUPPORTED.
- * scenario Check if bluetooth LE is supported and startup_flag is asserted. Then, call bt_gatt_server_set_write_value_requested_cb on the device and check for BT_ERROR_NOE.
- */
-int utc_bluetooth_bt_gatt_server_set_write_value_requested_cb_p(void)
-{
- bt_gatt_h characteristic = NULL;
- char *char_uuid = "2a19"; /* Battery Level */
- char char_value[1] = {80}; /* 80% */
- bt_gatt_property_e properties = BT_GATT_PROPERTY_READ | BT_GATT_PROPERTY_NOTIFY;
- bt_gatt_permission_e permissions = BT_GATT_PERMISSION_READ;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_characteristic_create(char_uuid, permissions, properties, char_value, sizeof(char_value), &characteristic);
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_set_write_value_requested_cb(characteristic, __bt_gatt_server_write_value_requested_cb_p, NULL);
- if (ret != BT_ERROR_NONE)
- bt_gatt_characteristic_destroy(characteristic);
-
- assert_eq(ret, BT_ERROR_NONE);
- bt_gatt_characteristic_destroy(characteristic);
- } else {
- ret = bt_gatt_server_set_write_value_requested_cb(characteristic, __bt_gatt_server_write_value_requested_cb_p, NULL);
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_bluetooth_bt_gatt_server_start_p
- * @since_tizen 3.0
- * @description check if bluetooth LE is supported and startup_flag is asserted.
- * If yes, create GATT server's handle and GATT service. Then, register service to server and start server and ensure there is no error.
- * Else, start server and verify result as BT_ERROR_NOT_SUPPORTED.
- * scenario Check if bluetooth LE is supported and startup_flag is asserted. Then, call bt_gatt_server_start on the device and check for BT_ERROR_NOE.
- */
-int utc_bluetooth_bt_gatt_server_start_p(void)
-{
- bt_gatt_server_h server = NULL;
-
- bt_gatt_h service = NULL;
- char *service_uuid = "180f"; /* Battery Service */
- bt_gatt_service_type_e service_type = BT_GATT_SERVICE_TYPE_PRIMARY;
-
- if (le_supported) {
- assert_eq(startup_flag, BT_ERROR_NONE);
-
- ret = bt_gatt_server_initialize();
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_create(&server);
- if (ret != BT_ERROR_NONE)
- bt_gatt_server_deinitialize();
-
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_service_create(service_uuid, service_type, &service);
- if (ret != BT_ERROR_NONE) {
- bt_gatt_server_destroy(server);
- bt_gatt_server_deinitialize();
- }
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_register_service(server, service);
- if (ret != BT_ERROR_NONE) {
- bt_gatt_service_destroy(service);
- bt_gatt_server_destroy(server);
- bt_gatt_server_deinitialize();
- }
- assert_eq(ret, BT_ERROR_NONE);
-
- ret = bt_gatt_server_start();
- assert_eq(ret, BT_ERROR_NONE);
-
- bt_gatt_service_destroy(service);
- bt_gatt_server_destroy(server);
- bt_gatt_server_deinitialize();
- } else {
- ret = bt_gatt_server_start();
- assert_eq(ret, BT_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-