Home
last modified time | relevance | path

Searched refs:nfy (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/samples/bluetooth/peripheral_csc/src/
Dmain.c265 struct csc_measurement_nfy *nfy; in measurement_nfy() local
266 uint8_t buf[sizeof(*nfy) + in measurement_nfy()
271 nfy = (void *) buf; in measurement_nfy()
272 nfy->flags = 0U; in measurement_nfy()
278 nfy->flags |= CSC_WHEEL_REV_DATA_PRESENT; in measurement_nfy()
282 memcpy(nfy->data, &data, sizeof(data)); in measurement_nfy()
290 nfy->flags |= CSC_CRANK_REV_DATA_PRESENT; in measurement_nfy()
294 memcpy(nfy->data + len, &data, sizeof(data)); in measurement_nfy()
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dgatt.c2348 struct bt_att_notify_mult *nfy; in gatt_add_nfy_to_buf() local
2350 nfy = net_buf_add(buf, sizeof(*nfy)); in gatt_add_nfy_to_buf()
2351 nfy->handle = sys_cpu_to_le16(handle); in gatt_add_nfy_to_buf()
2352 nfy->len = sys_cpu_to_le16(params->len); in gatt_add_nfy_to_buf()
2355 (void)memcpy(nfy->value, params->data, params->len); in gatt_add_nfy_to_buf()
2413 struct bt_att_notify *nfy; in gatt_notify() local
2457 sizeof(*nfy) + params->len); in gatt_notify()
2465 nfy = net_buf_add(buf, sizeof(*nfy)); in gatt_notify()
2466 nfy->handle = sys_cpu_to_le16(handle); in gatt_notify()
2469 memcpy(nfy->value, params->data, params->len); in gatt_notify()
[all …]