AT Command Parser source code demonstrates and provides re-usable code showing how to subscribe and parser responses to both unsolicted and sent AT commands.
It is public, and can be downloaded in the How-Tos & code samples section.
Click here to get the AT Command Parser source code example.