OpenSRX 0.1.0
C++ library for interfacing with Keyence SR series barcode readers
Loading...
Searching...
No Matches
Utils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <tuple>
5
12std::string stripEcho(const std::string& response, const std::string& command);
13
20std::tuple<std::string, std::string> parseVersionInfo(const std::string& raw);
std::tuple< std::string, std::string > parseVersionInfo(const std::string &raw)
Parse a raw version-info string ("MODEL,FIRMWARE") into components.
std::string stripEcho(const std::string &response, const std::string &command)
Strip a command echo prefix from a response string.