You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
338 B
18 lines
338 B
#include <iostream>
|
|
|
|
#include <serial_bridge_index.hpp>
|
|
|
|
using namespace serial_bridge;
|
|
|
|
int main(int argc, char **argv) {
|
|
if (argc != 2) {
|
|
std::cerr << "Usage: " << argv[0] << '\n';
|
|
return 1;
|
|
}
|
|
|
|
const std::string address{argv[1]};
|
|
const auto result = decode_address(address);
|
|
std::cout << result << '\n';
|
|
return 0;
|
|
}
|