mtp_operation_get_device_info="\x01\x10"
mtp_operation_open_session="\x02\x10"
mtp_operation_close_session="\x03\x10"
mtp_operation_get_storage_ids="\x04\x10"
mtp_operation_get_storage_info="\x05\x10"
mtp_operation_get_num_objects="\x06\x10"
mtp_operation_get_object_handles="\x07\x10"
mtp_operation_get_object_info="\x08\x10"
mtp_operation_get_object="\x09\x10"
mtp_operation_get_thumb="\x0A\x10"
mtp_operation_delete_object="\x0B\x10"
mtp_operation_send_object_info="\x0C\x10"
mtp_operation_send_object="\x0D\x10"
mtp_operation_initiate_capture="\x0E\x10"
mtp_operation_format_store="\x0F\x10"
mtp_operation_reset_device="\x10\x10"
mtp_operation_self_test="\x11\x10"
mtp_operation_set_object_protection="\x12\x10"
mtp_operation_power_down="\x13\x10"
mtp_operation_get_device_prop_desc="\x14\x10"
mtp_operation_get_device_prop_value="\x15\x10"
mtp_operation_set_device_prop_value="\x16\x10"
mtp_operation_reset_device_prop_value="\x17\x10"
mtp_operation_terminate_open_capture="\x18\x10"
mtp_operation_move_object="\x19\x10"
mtp_operation_copy_object="\x1A\x10"
mtp_operation_get_partial_object="\x1B\x10"
mtp_operation_initiate_open_capture="\x1C\x10"
mtp_operation_get_object_props_supported="\x01\x98"
mtp_operation_get_object_prop_desc="\x02\x98"
mtp_operation_get_object_prop_value="\x03\x98"
mtp_operation_set_object_prop_value="\x04\x98"
mtp_operation_get_object_prop_list="\x05\x98"
mtp_operation_set_object_prop_list="\x06\x98"
mtp_operation_get_interdependent_prop_desc="\x07\x98"
mtp_operation_send_object_prop_list="\x08\x98"
mtp_operation_get_object_references="\x10\x98"
mtp_operation_set_object_references="\x11\x98"
mtp_operation_skip="\x20\x98"
mtp_operation_get_partial_object_64="\xC1\x95"
mtp_operation_send_partial_object="\xC2\x95"
mtp_operation_truncate_object="\xC3\x95"
mtp_operation_begin_edit_object="\xC4\x95"
mtp_operation_end_edit_object="\xC5\x95"

# Association (for example, a folder)
mtp_format_association="\x01\x30"

# types
mtp_type_undefined="\x00\x00"
mtp_type_int8="\x01\x00"
mtp_type_uint8="\x02\x00"
mtp_type_int16="\x03\x00"
mtp_type_uint16="\x04\x00"
mtp_type_int32="\x05\x00"
mtp_type_uint32="\x06\x00"
mtp_type_int64="\x07\x00"
mtp_type_uint64="\x08\x00"
mtp_type_int128="\x09\x00"
mtp_type_uint128="\x0A\x00"
mtp_type_aint8="\x01\x40"
mtp_type_auint8="\x02\x40"
mtp_type_aint16="\x03\x40"
mtp_type_auint16="\x04\x40"
mtp_type_aint32="\x05\x40"
mtp_type_auint32="\x06\x40"
mtp_type_aint64="\x07\x40"
mtp_type_auint64="\x08\x40"
mtp_type_aint128="\x09\x40"
mtp_type_auint128="\x0A\x40"
mtp_type_str="\xFF\xFF"

# also used for max size (>4GB)
mtp_parent_root="\xFF\xFF\xFF\xFF"
