To save myself some time, and perhaps get a head start, I posted a question on Ask Different, and got a really helpful response. The code posted there pretty much completely solved my problem, and gave me an excellent introduction to AppleScript.
For those interested, here's a snippet from Wikipedia about MAP:
Message Access Profile (MAP)Message Access Profile (MAP) specification allows exchange of messages between devices. Mostly used for automotive handsfree use. The MAP profile can also be used for other uses that require the exchange of messages between two devices. The automotive Hands-Free use case is where an on-board terminal device (typically an electronic device as a Car-Kit installed in the car) can talk via messaging capability to another communication device (typically a mobile phone)...Apple introduced Bluetooth MAP in iOS 6 for the iPhone and iPad.Unfortunately, I haven't been able to find any official Apple documentation on MAP in iOS 6, but I'm still looking.