Lines Matching refs:nfy
2425 struct bt_att_notify_mult *nfy; in gatt_add_nfy_to_buf() local
2427 nfy = net_buf_add(buf, sizeof(*nfy) + params->len); in gatt_add_nfy_to_buf()
2428 nfy->handle = sys_cpu_to_le16(handle); in gatt_add_nfy_to_buf()
2429 nfy->len = sys_cpu_to_le16(params->len); in gatt_add_nfy_to_buf()
2430 (void)memcpy(nfy->value, params->data, params->len); in gatt_add_nfy_to_buf()
2488 struct bt_att_notify *nfy; in gatt_notify() local
2532 sizeof(*nfy) + params->len); in gatt_notify()
2540 nfy = net_buf_add(buf, sizeof(*nfy) + params->len); in gatt_notify()
2541 nfy->handle = sys_cpu_to_le16(handle); in gatt_notify()
2542 memcpy(nfy->value, params->data, params->len); in gatt_notify()
3665 const struct bt_att_notify_mult *nfy; in bt_gatt_mult_notification() local
3679 while (buf.len > sizeof(*nfy)) { in bt_gatt_mult_notification()
3683 nfy = net_buf_simple_pull_mem(&buf, sizeof(*nfy)); in bt_gatt_mult_notification()
3684 handle = sys_cpu_to_le16(nfy->handle); in bt_gatt_mult_notification()
3685 len = sys_cpu_to_le16(nfy->len); in bt_gatt_mult_notification()
3694 call_notify_cb_and_maybe_unsubscribe(conn, sub, handle, nfy->value, len); in bt_gatt_mult_notification()