BT_ATT_ERROR_INSUFFICIENT_RESOURCES = 0x11,
/* Common profile error codes */
- BT_ATT_ERROR_WRITE_REQUEST_REJECTED = 0x80,
+ BT_ATT_ERROR_WRITE_REQUEST_REJECTED = 0xFC,
BT_ATT_ERROR_CCCD_IMPROPERLY_CONFIGURED = 0xFD,
BT_ATT_ERROR_PROCEDURE_ALREADY_IN_PROGRESS = 0xFE,
BT_ATT_ERROR_OUT_OF_RANGE = 0xFF,
- /* Bluetooth OTP error codes */
- BT_ATT_ERROR_OBJECT_NOT_SELECTED = 0x81,
- BT_ATT_ERROR_CONCURRENCY_LIMIT_EXCEEDED = 0x82,
- BT_ATT_ERROR_OBJECT_NAME_EXISTS = 0x83,
-
} bt_att_error_e;
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_OTP_MODULE
+ * @brief Enumerations of the ATT error codes specific to OTP.
+ * @since_tizen 4.0
+ */
+typedef enum {
+ /* Bluetooth OTP error codes */
+ BT_OTP_ERROR_WRITE_REQUEST_REJECTED = 0x80,
+ BT_OTP_ERROR_OBJECT_NOT_SELECTED = 0x81,
+ BT_OTP_ERROR_CONCURRENCY_LIMIT_EXCEEDED = 0x82,
+ BT_OTP_ERROR_OBJECT_NAME_EXISTS = 0x83,
+} bt_otp_error_e;
+
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE
* @brief Called when the Bluetooth adapter le state changes.