Added sensor serial command handling