Fixed erroro in enbale checking of sensor
Deleted memset function to clear input string in response functions