The device senses the nature, duration and time of coughing.