• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1mtp_operation_get_device_info="\x01\x10"
2mtp_operation_open_session="\x02\x10"
3mtp_operation_close_session="\x03\x10"
4mtp_operation_get_storage_ids="\x04\x10"
5mtp_operation_get_storage_info="\x05\x10"
6mtp_operation_get_num_objects="\x06\x10"
7mtp_operation_get_object_handles="\x07\x10"
8mtp_operation_get_object_info="\x08\x10"
9mtp_operation_get_object="\x09\x10"
10mtp_operation_get_thumb="\x0A\x10"
11mtp_operation_delete_object="\x0B\x10"
12mtp_operation_send_object_info="\x0C\x10"
13mtp_operation_send_object="\x0D\x10"
14mtp_operation_initiate_capture="\x0E\x10"
15mtp_operation_format_store="\x0F\x10"
16mtp_operation_reset_device="\x10\x10"
17mtp_operation_self_test="\x11\x10"
18mtp_operation_set_object_protection="\x12\x10"
19mtp_operation_power_down="\x13\x10"
20mtp_operation_get_device_prop_desc="\x14\x10"
21mtp_operation_get_device_prop_value="\x15\x10"
22mtp_operation_set_device_prop_value="\x16\x10"
23mtp_operation_reset_device_prop_value="\x17\x10"
24mtp_operation_terminate_open_capture="\x18\x10"
25mtp_operation_move_object="\x19\x10"
26mtp_operation_copy_object="\x1A\x10"
27mtp_operation_get_partial_object="\x1B\x10"
28mtp_operation_initiate_open_capture="\x1C\x10"
29mtp_operation_get_object_props_supported="\x01\x98"
30mtp_operation_get_object_prop_desc="\x02\x98"
31mtp_operation_get_object_prop_value="\x03\x98"
32mtp_operation_set_object_prop_value="\x04\x98"
33mtp_operation_get_object_prop_list="\x05\x98"
34mtp_operation_set_object_prop_list="\x06\x98"
35mtp_operation_get_interdependent_prop_desc="\x07\x98"
36mtp_operation_send_object_prop_list="\x08\x98"
37mtp_operation_get_object_references="\x10\x98"
38mtp_operation_set_object_references="\x11\x98"
39mtp_operation_skip="\x20\x98"
40mtp_operation_get_partial_object_64="\xC1\x95"
41mtp_operation_send_partial_object="\xC2\x95"
42mtp_operation_truncate_object="\xC3\x95"
43mtp_operation_begin_edit_object="\xC4\x95"
44mtp_operation_end_edit_object="\xC5\x95"
45
46# Association (for example, a folder)
47mtp_format_association="\x01\x30"
48
49# types
50mtp_type_undefined="\x00\x00"
51mtp_type_int8="\x01\x00"
52mtp_type_uint8="\x02\x00"
53mtp_type_int16="\x03\x00"
54mtp_type_uint16="\x04\x00"
55mtp_type_int32="\x05\x00"
56mtp_type_uint32="\x06\x00"
57mtp_type_int64="\x07\x00"
58mtp_type_uint64="\x08\x00"
59mtp_type_int128="\x09\x00"
60mtp_type_uint128="\x0A\x00"
61mtp_type_aint8="\x01\x40"
62mtp_type_auint8="\x02\x40"
63mtp_type_aint16="\x03\x40"
64mtp_type_auint16="\x04\x40"
65mtp_type_aint32="\x05\x40"
66mtp_type_auint32="\x06\x40"
67mtp_type_aint64="\x07\x40"
68mtp_type_auint64="\x08\x40"
69mtp_type_aint128="\x09\x40"
70mtp_type_auint128="\x0A\x40"
71mtp_type_str="\xFF\xFF"
72
73# also used for max size (>4GB)
74mtp_parent_root="\xFF\xFF\xFF\xFF"
75