Searched refs:p_value (Results 1 - 20 of 20) sorted by relevance

/system/bt/stack/srvc/
H A Dsrvc_battery_int.h72 extern UINT8 battery_s_write_attr_value(UINT8 clcb_idx, tGATT_WRITE_REQ * p_value,
74 extern UINT8 battery_s_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long, tGATT_STATUS* p_status);
H A Dsrvc_dis.c116 UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, argument
120 UINT8 *p = p_value->value, i, *pp;
121 UINT16 offset = p_value->offset;
151 p_value->len = GATT_MAX_ATTR_LEN;
153 p_value->len = (UINT16)strlen ((char *)pp);
156 p_value->len = 0;
158 if (offset > p_value->len)
165 p_value->len -= offset;
167 ARRAY_TO_STREAM(p, pp, p_value->len);
168 GATT_TRACE_EVENT("GATT_UUID_MANU_NAME len=0x%04x", p_value
[all...]
H A Dsrvc_dis_int.h73 extern UINT8 dis_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value,
H A Dsrvc_eng_int.h82 extern void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value);
H A Dsrvc_battery.c70 UINT8 battery_s_write_attr_value(UINT8 clcb_idx, tGATT_WRITE_REQ * p_value, argument
73 UINT8 *p = p_value->value, i;
74 UINT16 handle = p_value->handle;
93 cfg.need_rsp = p_value->need_rsp;
112 UINT8 battery_s_read_attr_value (UINT8 clcb_idx, UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long, tGATT_STATUS* p_status) argument
118 UNUSED(p_value);
H A Dsrvc_eng.c470 void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value) argument
476 GATTS_HandleValueNotification( conn_id, handle, len, p_value);
/system/bt/btif/src/
H A Dbtif_gatt_util.c259 if (( p_src->status == BTA_GATT_OK ) &&(p_src->p_value != NULL))
261 LOG_INFO("%s unformat.len = %d ", __FUNCTION__, p_src->p_value->unformat.len);
262 p_dest->value.len = p_src->p_value->unformat.len;
263 if ( p_src->p_value->unformat.len > 0 && p_src->p_value->unformat.p_value != NULL )
265 memcpy(p_dest->value.value, p_src->p_value->unformat.p_value,
266 p_src->p_value->unformat.len);
268 len += p_src->p_value
[all...]
H A Dbtif_gatt_client.c327 if (p_src_data->read.p_value != NULL)
329 p_dest_data->read.p_value = GKI_getbuf(sizeof(tBTA_GATT_READ_VAL));
331 if (p_dest_data->read.p_value != NULL)
333 memcpy(p_dest_data->read.p_value, p_src_data->read.p_value,
338 && p_src_data->read.p_value->unformat.len > 0
339 && p_src_data->read.p_value->unformat.p_value != NULL)
341 p_dest_data->read.p_value->unformat.p_value
1991 btif_gattc_write_char(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_gatt_id_t* char_id, int write_type, int len, int auth_req, char* p_value) argument
2008 btif_gattc_write_char_descr(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_gatt_id_t* char_id, btgatt_gatt_id_t* descr_id, int write_type, int len, int auth_req, char* p_value) argument
[all...]
H A Dbtif_gatt_server.c646 int len, int confirm, char* p_value)
655 memcpy(btif_cb.value, p_value, len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len);
645 btif_gatts_send_indication(int server_if, int attribute_handle, int conn_id, int len, int confirm, char* p_value) argument
/system/bt/stack/gatt/
H A Dgatt_db.c105 return &((tGATT_ATTR16 *)p_db->p_attr_list)->p_value->uuid;
197 ** p_value: output parameter to carry out the attribute value.
240 len = p_attr16->p_value->uuid.len;
241 if (mtu >= p_attr16->p_value->uuid.len)
243 gatt_build_uuid_to_stream(&p, p_attr16->p_value->uuid);
253 UINT8_TO_STREAM(p, p_attr16->p_value->char_decl.property);
254 UINT16_TO_STREAM(p, p_attr16->p_value->char_decl.char_val_handle);
276 if (p_attr16->p_value->incl_handle.service_type.len == LEN_UUID_16)
283 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.s_handle);
284 UINT16_TO_STREAM(p, p_attr16->p_value
633 gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, UINT16 handle, UINT16 offset, UINT8 *p_value, UINT16 *p_len, UINT16 mtu, tGATT_SEC_FLAG sec_flag, UINT8 key_size, UINT32 trans_id) argument
[all...]
H A Dgatt_int.h179 tGATT_ATTR_VALUE *p_value; member in struct:__anon865
192 tGATT_ATTR_VALUE *p_value; member in struct:__anon866
206 tGATT_ATTR_VALUE *p_value; member in struct:__anon867
702 UINT8 *p_value, UINT16 *p_len, UINT16 mtu,tGATT_SEC_FLAG sec_flag,UINT8 key_size,UINT32 trans_id);
/system/bt/bta/gatt/
H A Dbta_gattc_api.c639 tBTA_GATTC_ATTR_ID *p_value; local
656 p_buf->p_id_list = p_value = (tBTA_GATTC_ATTR_ID *)(p_buf + 1);
658 for (i = 0; i < p_buf->num_attr; i ++, p_value ++)
660 memcpy(p_value, &p_read_multi->id_list[i], sizeof(tBTA_GATTC_ATTR_ID));
679 ** p_value - the value to be written.
688 UINT8 *p_value,
707 if (p_value && len > 0)
709 p_buf->p_value = (UINT8 *)(p_buf + 1);
710 memcpy(p_buf->p_value, p_value, le
684 BTA_GATTC_WriteCharValue( UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, tBTA_GATTC_WRITE_TYPE write_type, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
785 BTA_GATTC_PrepareWrite(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, UINT16 offset, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
[all...]
H A Dbta_gattc_utils.c634 tBTA_GATT_READ_VAL *p_value)
650 &p_value->aggre_value.pre_format[i].char_id.srvc_id,
651 &p_value->aggre_value.pre_format[i].char_id.char_id,
652 &p_value->aggre_value.pre_format[i].descr_id) == FALSE)
661 p_value->aggre_value.num_pres_fmt = i;
666 p_value->unformat.len = p_attr->len;
667 p_value->unformat.p_value = p_attr->value;
631 bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid, tGATT_VALUE *p_attr, tBTA_GATT_READ_VAL *p_value) argument
H A Dbta_gattc_int.h145 UINT8 *p_value; member in struct:__anon154
525 extern tBTA_GATT_STATUS bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid, tGATT_VALUE *p_attr, tBTA_GATT_READ_VAL *p_value);
H A Dbta_gattc_act.c1230 if (p_data->api_write.p_value)
1231 memcpy(attr.value, p_data->api_write.p_value, p_data->api_write.len);
1354 cb_data.read.p_value = &read_value;
/system/bt/stack/gap/
H A Dgap_ble.c215 tGATT_STATUS gap_read_attr_value (UINT16 handle, tGATT_VALUE *p_value, BOOLEAN is_long) argument
218 UINT8 *p = p_value->value, i;
219 UINT16 offset = p_value->offset;
235 p_value->len = GATT_MAX_ATTR_LEN;
237 p_value->len = (UINT16)strlen ((char *)p_dev_name);
239 if (offset > p_value->len)
243 p_value->len -= offset;
245 ARRAY_TO_STREAM(p, p_dev_name, p_value->len);
246 GAP_TRACE_EVENT("GATT_UUID_GAP_DEVICE_NAME len=0x%04x", p_value->len);
252 p_value
461 GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value) argument
[all...]
/system/bt/bta/hh/
H A Dbta_hh_le.c721 p_data->p_value && p_data->p_value->unformat.len == 2)
723 pp = p_data->p_value->unformat.p_value;
780 p_data->p_value && p_data->p_value->unformat.len == 2)
782 pp = p_data->p_value->unformat.p_value;
934 value.p_value = buf;
1850 pp = p_data->p_value
2548 UINT8 *p_value, rpt_id; local
[all...]
/system/bt/bta/include/
H A Dbta_gatt_api.h186 UINT8 *p_value; member in struct:__anon351
313 tBTA_GATT_READ_VAL *p_value; member in struct:__anon364
928 ** p_value - the value to be written.
937 UINT8 *p_value,
949 ** p_value - the value to be written.
1019 ** p_value - the value to be written.
1028 UINT8 *p_value,
/system/bt/stack/include/
H A Dgap_api.h340 extern void GAP_BleAttrDBUpdate(UINT16 attr_uuid, tGAP_BLE_ATTR_VALUE *p_value);
/system/bt/bta/jv/
H A Dbta_jv_int.h336 UINT8 *p_value; member in struct:__anon530

Completed in 179 milliseconds