diff --git a/thermometer/thermometer.c b/thermometer/thermometer.c
index 914f77c..087662e 100644
--- a/thermometer/thermometer.c
+++ b/thermometer/thermometer.c
#define VALID_RANGE_DESC_SIZE 4
#define TEMPERATURE_TYPE_SIZE 1
+#define MEASUREMENT_INTERVAL_SIZE 2
struct thermometer {
DBusConnection *conn; /* The connection to the bus */
gpointer user_data)
{
struct characteristic *ch = user_data;
- uint8_t value[ATT_MAX_MTU];
+ uint8_t value[MEASUREMENT_INTERVAL_SIZE];
uint16_t interval;
ssize_t vlen;