From 9bd2728bfacffc1f598c78b9a9187e893bc2e766 Mon Sep 17 00:00:00 2001 From: Taejin Woo Date: Fri, 12 Aug 2016 11:18:14 +0900 Subject: [PATCH] Fix IPSP API's name Change-Id: I391e18c537a9e38c21e1ec88bd99944e12a9703f Signed-off-by: Taejin Woo --- bt-api/bt-ipsp.c | 8 ++++---- include/bluetooth-ipsp-api.h | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bt-api/bt-ipsp.c b/bt-api/bt-ipsp.c index b6892948..590d8d14 100755 --- a/bt-api/bt-ipsp.c +++ b/bt-api/bt-ipsp.c @@ -23,7 +23,7 @@ #include "bt-request-sender.h" #include "bt-event-handler.h" -BT_EXPORT_API int bluetooth_le_ipsp_init(void) +BT_EXPORT_API int bluetooth_ipsp_init(void) { int ret = IPSP_ERROR_NONE; @@ -41,7 +41,7 @@ BT_EXPORT_API int bluetooth_le_ipsp_init(void) return ret; } -BT_EXPORT_API int bluetooth_le_ipsp_deinit(void) +BT_EXPORT_API int bluetooth_ipsp_deinit(void) { int ret = IPSP_ERROR_NONE; @@ -59,7 +59,7 @@ BT_EXPORT_API int bluetooth_le_ipsp_deinit(void) return ret; } -BT_EXPORT_API int bluetooth_le_ipsp_connect(const ipsp_device_address_t *device_address) +BT_EXPORT_API int bluetooth_ipsp_connect(const ipsp_device_address_t *device_address) { int ret = IPSP_ERROR_NONE; @@ -79,7 +79,7 @@ BT_EXPORT_API int bluetooth_le_ipsp_connect(const ipsp_device_address_t *device_ return ret; } -BT_EXPORT_API int bluetooth_le_ipsp_disconnect(const ipsp_device_address_t *device_address) +BT_EXPORT_API int bluetooth_ipsp_disconnect(const ipsp_device_address_t *device_address) { int ret = IPSP_ERROR_NONE; diff --git a/include/bluetooth-ipsp-api.h b/include/bluetooth-ipsp-api.h index d65bbc12..0d8ed48c 100755 --- a/include/bluetooth-ipsp-api.h +++ b/include/bluetooth-ipsp-api.h @@ -51,7 +51,7 @@ typedef struct { } ipsp_device_address_t; /** - * @fn int bluetooth_le_ipsp_init(void) + * @fn int bluetooth_ipsp_init(void) * * @brief Initializes IPSP service and register the service to Bluez * @@ -68,10 +68,10 @@ typedef struct { * @remark None * */ -int bluetooth_le_ipsp_init(void); +int bluetooth_ipsp_init(void); /** - * @fn int bluetooth_le_ipsp_deinit(void) + * @fn int bluetooth_ipsp_deinit(void) * * @brief De-Initialize IPSP service and un-register the callback * The IPSP De-Initialize request is responded by BLUETOOTH_EVENT_IPSP_INIT_STATE_CHANGED event. @@ -86,10 +86,10 @@ int bluetooth_le_ipsp_init(void); * @remark None * */ -int bluetooth_le_ipsp_deinit(void); +int bluetooth_ipsp_deinit(void); /** - * @fn int bluetooth_le_ipsp_connect(const ipsp_device_address_t *device_address); + * @fn int bluetooth_ipsp_connect(const ipsp_device_address_t *device_address); * * @brief Connects to IPSP Router device. It establishes connection for 6Lowpan over LE. * @@ -103,12 +103,12 @@ int bluetooth_le_ipsp_deinit(void); * @param[in] device_address - remote device address. * * @remark None - * @see bluetooth_le_ipsp_disconnect() + * @see bluetooth_ipsp_disconnect() */ -int bluetooth_le_ipsp_connect(const ipsp_device_address_t *device_address); +int bluetooth_ipsp_connect(const ipsp_device_address_t *device_address); /** - * @fn int bluetooth_le_ipsp_disconnect(const ipsp_device_address_t *device_address); + * @fn int bluetooth_ipsp_disconnect(const ipsp_device_address_t *device_address); * * @brief Disconnects to IPSP Router device. It disconnects connection for 6Lowpan over LE. * @@ -122,9 +122,9 @@ int bluetooth_le_ipsp_connect(const ipsp_device_address_t *device_address); * @param[in] device_address - remote device address. * * @remark None - * @see bluetooth_le_ipsp_disconnect() + * @see bluetooth_ipsp_disconnect() */ -int bluetooth_le_ipsp_disconnect(const ipsp_device_address_t *device_address); +int bluetooth_ipsp_disconnect(const ipsp_device_address_t *device_address); #ifdef __cplusplus -- 2.34.1