diff options
Diffstat (limited to 'host/lib/utils/eeprom_utils.hpp')
-rw-r--r-- | host/lib/utils/eeprom_utils.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/host/lib/utils/eeprom_utils.hpp b/host/lib/utils/eeprom_utils.hpp deleted file mode 100644 index 28deca790..000000000 --- a/host/lib/utils/eeprom_utils.hpp +++ /dev/null @@ -1,20 +0,0 @@ -// -// Copyright 2017 Ettus Research (National Instruments Corp.) -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#include <uhd/types/byte_vector.hpp> -#include <uhd/types/mac_addr.hpp> -#include <boost/asio/ip/address_v4.hpp> -#include <string> -#include <vector> - -static const size_t SERIAL_LEN = 9; -static const size_t NAME_MAX_LEN = 32 - SERIAL_LEN; - -//! convert a string to a byte vector to write to eeprom -uhd::byte_vector_t string_to_uint16_bytes(const std::string &num_str); - -//! convert a byte vector read from eeprom to a string -std::string uint16_bytes_to_string(const uhd::byte_vector_t &bytes); |