Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_db.cc690 tGATTS_DATA sr_data; in gatts_send_app_read_request() local
691 memset(&sr_data, 0, sizeof(tGATTS_DATA)); in gatts_send_app_read_request()
693 sr_data.read_req.handle = handle; in gatts_send_app_read_request()
694 sr_data.read_req.is_long = (bool)(op_code == GATT_REQ_READ_BLOB); in gatts_send_app_read_request()
695 sr_data.read_req.offset = offset; in gatts_send_app_read_request()
709 gatt_sr_send_req_callback(conn_id, trans_id, opcode, &sr_data); in gatts_send_app_read_request()
Dgatt_sr.cc868 tGATTS_DATA sr_data; in gatts_process_write_req() local
874 memset(&sr_data, 0, sizeof(tGATTS_DATA)); in gatts_process_write_req()
885 sr_data.write_req.is_prep = true; in gatts_process_write_req()
886 STREAM_TO_UINT16(sr_data.write_req.offset, p); in gatts_process_write_req()
898 sr_data.write_req.need_rsp = true; in gatts_process_write_req()
899 sr_data.write_req.handle = handle; in gatts_process_write_req()
900 sr_data.write_req.len = len; in gatts_process_write_req()
902 memcpy(sr_data.write_req.value, p, len); in gatts_process_write_req()
910 sr_data.write_req.offset, p, len, in gatts_process_write_req()
931 gatt_sr_send_req_callback(conn_id, trans_id, opcode, &sr_data); in gatts_process_write_req()