Update protocol.c for sensor_1527