BlackBerry sells mobile and messaging patents for $600M