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:
Luiz Augusto von Dentz 2016-01-19 13:18:21 +02:00 committed by Anas Nashif
commit d65dcc5e4b
6 changed files with 25 additions and 19 deletions

View file

@ -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;
}