nrf5/sdk: Remaning bluetooth driver function ble_drv_attr_notif to *_notify.
This commit is contained in:
parent
601f07cbf2
commit
7223950864
@ -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;
|
||||||
|
|
||||||
|
@ -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__
|
||||||
|
Loading…
Reference in New Issue
Block a user