added debug message when characteristics are detected