Change-Id: Id530fded18e3803f5a26064ca5233ed45da9f4e5
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
return result;
}
+
+BT_EXPORT_API int bluetooth_l2cap_le_get_max_buffer_size(int *size)
+{
+ BT_CHECK_ENABLED_LE(return);
+ BT_CHECK_PARAMETER(size, return);
+
+ *size = BT_L2CAP_LE_BUFFER_LEN;
+
+ return BLUETOOTH_ERROR_NONE;
+}
*/
int bluetooth_l2cap_le_get_psm(int id, int *psm);
+/**
+ * @fn gboolean bluetooth_l2cap_le_get_max_buffer_size(int *size)
+ * @brief gives the maximum size of buffer.
+ *
+ * This function is a synchronous call.
+ *
+ * @return BLUETOOTH_ERROR_NONE - Success \n
+ * BLUETOOTH_ERROR_INVALID_PARAM - Invalid parameter \n
+ * BLUETOOTH_ERROR_DEVICE_NOT_ENABLED - Adapter is disabled \n
+ *
+ * @param[out] int *size
+ *
+ * @exception None
+ *
+ * @remark None
+ */
+int bluetooth_l2cap_le_get_max_buffer_size(int *size);
/**
* @}