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__