Revert "[Bluetooth][OTP-Client] Handle GATT operations for OTP"
[platform/core/connectivity/bluetooth-frwk.git] / include / bluetooth-api.h
index 3eab8cb..c35f4dd 100644 (file)
@@ -506,15 +506,6 @@ typedef struct {
 } bluetooth_tds_transport_data_info_t;
 
 /**
-* Structure to hold the OTP response data from remote OTP server
-*/
-typedef struct {
-       char *handle;      /**< Handle */
-       int data_length;                        /**< Data length */
-       char *data;                             /**< Read data */
-} bluetooth_otp_resp_info_t;
-
-/**
 * Advertising parameters
 */
 typedef struct {
@@ -831,8 +822,6 @@ typedef enum {
        BLUETOOTH_EVENT_TDS_ACTIVATION_INDICATION,    /** TDS Activation Indication from Provider */
 
        BLUETOOTH_EVENT_OTP_SERVER_STATE_CHANGED,       /* OTP Server Status **/
-       BLUETOOTH_EVENT_OTP_READ_CHAR_VAL,      /* OTP Read Value Response */
-       BLUETOOTH_EVENT_OTP_NOTIFICATION_ENABLED,       /* OTP Notification Enabled Response */
 } bluetooth_event_type_t;
 
  /**
@@ -7580,10 +7569,6 @@ int bluetooth_otp_server_init(const char *directory);
  */
 int bluetooth_otp_server_deinit();
 
-int bluetooth_otp_enable_notification(const char *handle);
-
-int bluetooth_otp_read_characteristic_value(const char *handle);
-
 /**
  * @}
  */