Home
last modified time | relevance | path

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

/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/
H A Dble_gatts.c340 uint16_t offset, struct ble_gatt_access_ctxt *gatt_ctxt, in ble_gatts_val_access() argument
349 switch (gatt_ctxt->op) { in ble_gatts_val_access()
364 gatt_ctxt->om = *om; in ble_gatts_val_access()
367 gatt_ctxt->om = os_msys_get_pkthdr(0, 0); in ble_gatts_val_access()
368 if (gatt_ctxt->om == NULL) { in ble_gatts_val_access()
373 initial_len = OS_MBUF_PKTLEN(gatt_ctxt->om); in ble_gatts_val_access()
374 rc = access_cb(conn_handle, attr_handle, gatt_ctxt, cb_arg); in ble_gatts_val_access()
376 attr_len = OS_MBUF_PKTLEN(gatt_ctxt->om) - initial_len - offset; in ble_gatts_val_access()
379 os_mbuf_appendfrom(*om, gatt_ctxt->om, offset, attr_len); in ble_gatts_val_access()
387 os_mbuf_free_chain(gatt_ctxt->om); in ble_gatts_val_access()
[all …]