The two companies reached a ? agreement after months of negotiations over the disputed patent rights.