- const struct binary_analog_channel *channels;
-
- /* Verify poll packet checksum; return 1 if OK, 0 otherwise. */
- int (*poll_csum)(char buf[], int len);
+ const struct rdtech_um_channel_desc *channels;
+ size_t channel_count;
+ gboolean (*csum_ok)(const uint8_t *buf, size_t len);