Home | History | Annotate | Download | only in attrib

Lines Matching refs:plen

73 	guint16 plen;
79 plen = enc_read_by_grp_req(start, end, &prim, pdu, len);
98 plen = enc_find_by_type_req(start, end, &prim, value, vlen,
102 return plen;
224 guint16 plen;
226 plen = encode_discover_primary(0x0001, 0xffff, uuid, buf, buflen);
227 if (plen == 0)
244 return g_attrib_send(attrib, 0, buf[0], buf, plen, cb, dp, NULL);
333 guint16 plen;
337 plen = enc_read_by_type_req(start, end, &type_uuid, buf, buflen);
338 if (plen == 0)
351 return g_attrib_send(attrib, 0, buf[0], buf, plen, char_discovered_cb,
361 guint16 plen;
363 plen = enc_read_by_type_req(start, end, uuid, buf, buflen);
364 if (plen == 0)
368 buf, plen, func, user_data, NULL);
402 guint16 plen;
425 plen = enc_read_blob_req(long_read->handle, long_read->size - 1,
428 ATT_OP_READ_BLOB_REQ, buf, plen,
449 guint16 plen;
463 plen = enc_read_blob_req(long_read->handle, rlen - 1, buf, buflen);
465 ATT_OP_READ_BLOB_REQ, buf, plen, read_blob_helper,
484 guint16 plen;
500 plen = enc_read_blob_req(long_read->handle, offset, buf,
502 id = g_attrib_send(attrib, 0, ATT_OP_READ_BLOB_REQ, buf, plen,
505 plen = enc_read_req(handle, buf, buflen);
506 id = g_attrib_send(attrib, 0, ATT_OP_READ_REQ, buf, plen,
525 guint16 plen;
529 plen = enc_write_req(handle, value, vlen, buf, buflen);
531 plen = enc_write_cmd(handle, value, vlen, buf, buflen);
533 return g_attrib_send(attrib, 0, buf[0], buf, plen, func,
542 guint16 plen;
545 plen = enc_mtu_req(mtu, buf, buflen);
546 return g_attrib_send(attrib, 0, ATT_OP_MTU_REQ, buf, plen, func,
555 guint16 plen;
558 plen = enc_find_info_req(start, end, buf, buflen);
559 if (plen == 0)
562 return g_attrib_send(attrib, 0, ATT_OP_FIND_INFO_REQ, buf, plen, func,
571 guint16 plen;
574 plen = enc_write_cmd(handle, value, vlen, buf, buflen);
575 return g_attrib_send(attrib, 0, ATT_OP_WRITE_CMD, buf, plen, NULL,