Bluetooth: GATT: Replace handle with attribute object in bt_gatt_notify
This make more sense since the handles are normally self allocated by the stack. Change-Id: I198dd9c3ef6259cff8a0e528514918ec18990dea Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
05da1e9b01
commit
d65dcc5e4b
6 changed files with 25 additions and 19 deletions
|
@ -96,8 +96,8 @@ int bt_gatt_attr_read_cpf(struct bt_conn *conn,
|
|||
return -ENOSYS;
|
||||
}
|
||||
|
||||
int bt_gatt_notify(struct bt_conn *conn, uint16_t handle, const void *data,
|
||||
uint16_t len)
|
||||
int bt_gatt_notify(struct bt_conn *conn, const struct bt_gatt_attr *attr,
|
||||
const void *data, uint16_t len)
|
||||
{
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue