added functionality to the glass bt message api.