Contrary to popular belief, the Miranda warning need only be read to a person if they are already in custody and are then questioned. Further, the questions must be of a material nature; in other words not incidental to the booking process (i.e. name, address, birth date, etc.).Here is a link to an article that will explain more: https://criminal-law.freeadvice.com/criminal-law/arrests_and_searches/no-rights-case-dismissed.htm