+#define ATORCH_BUFSIZE 128
+
+struct atorch_device_profile {
+ uint8_t device_type;
+ const char *device_name;
+ const struct atorch_channel_desc *channels;
+ size_t channel_count;
+};
+
+struct atorch_channel_desc {
+ const char *name;
+ struct binary_value_spec spec;
+ struct sr_rational scale;
+ int digits;
+ enum sr_mq mq;
+ enum sr_unit unit;
+ enum sr_mqflag flags;
+};
+
+enum atorch_msg_type {
+ MSG_REPORT = 0x01,
+ MSG_REPLY = 0x02,
+ MSG_COMMAND = 0x11,
+};
+