#ifndef __COMMON_H__
#define __COMMON_H__
+#include <string.h>
+
#define MAX_DEVICES 9 /* Check iio devices 0 to MAX_DEVICES-1 */
#define MAX_SENSORS 12 /* We can handle as many sensors */
#define MAX_CHANNELS 4 /* We can handle as many channels per sensor */
#define MAX_SENSOR_REPORT_SIZE 32 /* Sensor report buffer size */
#define MAX_DEVICE_REPORT_SIZE 32 /* iio device scan buffer size */
-#define MAX_NAME_SIZE 32
+#define MAX_NAME_SIZE 64
#define MAX_SENSOR_BASES 3 /* Max number of base sensors a sensor can rely on */