X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fbrymen-dmm%2Fprotocol.h;h=1270ecb60a7f2ae20c8e0e7372b1701d4e32ce9e;hb=8162cad7e0727fc31d797afacfed4c23dd97aca0;hp=e6d2e560d66f1b88938a2cf0558ebae5077bb0a4;hpb=2588e50c63d08245547e9947e67b4247f9102b19;p=libsigrok.git diff --git a/hardware/brymen-dmm/protocol.h b/hardware/brymen-dmm/protocol.h index e6d2e560..1270ecb6 100644 --- a/hardware/brymen-dmm/protocol.h +++ b/hardware/brymen-dmm/protocol.h @@ -76,6 +76,9 @@ SR_PRIV int brymen_packet_request(struct sr_serial_dev_inst *serial); SR_PRIV int brymen_packet_length(const uint8_t *buf, int *len); SR_PRIV gboolean brymen_packet_is_valid(const uint8_t *buf); +SR_PRIV int sr_brymen_parse(const uint8_t *buf, float *floatval, + struct sr_datafeed_analog *analog, void *info); + SR_PRIV int brymen_stream_detect(struct sr_serial_dev_inst *serial, uint8_t *buf, size_t *buflen, packet_length_t get_packet_size,