BlackBerry and Nokia agreed to end a patent-infringement lawsuit over royalties on Nokia’s mobile network products that use an industrywide technology standard, according to a court filing.

A federal judge in Wilmington, Delaware, Nov. 7 granted the companies’ request to dismiss the case, according to a filing on an electronic docket.

In a lawsuit filed in February 2017, BlackBerry had claimed that Nokia’s products, including its Flexi Multiradio base stations, radio network controllers and Liquid Radio software, use technology covered...