From 7223950864868d85e94255c7fb7cce8707df31c1 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Mon, 20 Feb 2017 21:26:19 +0100 Subject: [PATCH] nrf5/sdk: Remaning bluetooth driver function ble_drv_attr_notif to *_notify. --- nrf5/sdk/ble_drv.c | 3 ++- nrf5/sdk/ble_drv.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nrf5/sdk/ble_drv.c b/nrf5/sdk/ble_drv.c index 89de92aee8..abedf2936b 100644 --- a/nrf5/sdk/ble_drv.c +++ b/nrf5/sdk/ble_drv.c @@ -552,6 +552,7 @@ void ble_drv_attr_read(uint16_t conn_handle, uint16_t handle, uint16_t len, uint } } + void ble_drv_attr_write(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data) { ble_gatts_value_t gatts_value; memset(&gatts_value, 0, sizeof(gatts_value)); @@ -568,7 +569,7 @@ void ble_drv_attr_write(uint16_t conn_handle, uint16_t handle, uint16_t len, uin } } -void ble_drv_attr_notif(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data) { +void ble_drv_attr_notify(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data) { uint16_t hvx_len = len; ble_gatts_hvx_params_t hvx_params; diff --git a/nrf5/sdk/ble_drv.h b/nrf5/sdk/ble_drv.h index 8f8075a8c7..9fc80215ed 100644 --- a/nrf5/sdk/ble_drv.h +++ b/nrf5/sdk/ble_drv.h @@ -58,6 +58,6 @@ void ble_drv_attr_read(uint16_t conn_handle, uint16_t handle, uint16_t len, uint void ble_drv_attr_write(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data); -void ble_drv_attr_notif(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data); +void ble_drv_attr_notify(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data); #endif // BLUETOOTH_LE_DRIVER_H__