Fixed status codes in getting and sending data to sensors