nrf5/sdk: Remaning bluetooth driver function ble_drv_attr_notif to *_notify.

This commit is contained in:
Glenn Ruben Bakke 2017-02-20 21:26:19 +01:00
parent 601f07cbf2
commit 7223950864
2 changed files with 3 additions and 2 deletions

View File

@ -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) { 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; ble_gatts_value_t gatts_value;
memset(&gatts_value, 0, sizeof(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; uint16_t hvx_len = len;
ble_gatts_hvx_params_t hvx_params; ble_gatts_hvx_params_t hvx_params;

View File

@ -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_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__ #endif // BLUETOOTH_LE_DRIVER_H__