An accessory communicates with a PMD to store tags associated with
broadcasts in a file maintained in a storage medium of the accessory. In
one embodiment, the accessory sends a command to the PMD to create or
open a tag file that resides on the PMD. Once opened, the tag file is
held open by the PMD until the accessory closes it (or disconnects),
allowing multiple tags to be written to one file. Each time the user
requests a new tag, the accessory generates a tag containing information
descriptive of the broadcast material (e.g., song title, artist, radio
station identifier, time of tagging, etc.) and writes the tag to the tag
file using a write command to the PMD.