#ifndef _WMR_DECODE_H
#define _WMR_DECODE_H

#include 

#define ANEMOMETER_DATA     (0x00)
#define RAIN_GAUGE_DATA     (0x01)
#define SENSOR_OUTSIDE_DATA (0x02)
#define OUTSIDE_DATA        (0x03)
#define OLD_INSIDE_DATA     (0x05)
#define INSIDE_DATA         (0x06)
#define MINUTE_DATA         (0x0E)
#define HOUR_DATA           (0x0F)

/* message length is returned (or zero in case of invalid message id) */
unsigned int
wmr_message_length(unsigned int /* char */ id);

void wmr_decode (unsigned char const * byte);

#endif