|
Electroneum
|
#include <algorithm>#include <functional>#include <boost/endian/conversion.hpp>#include <boost/asio/io_service.hpp>#include <boost/asio/ip/udp.hpp>#include <boost/date_time/posix_time/posix_time_types.hpp>#include <boost/format.hpp>#include "common/apply_permutation.h"#include "transport.hpp"#include "messages/messages-common.pb.h"
Go to the source code of this file.
Classes | |
| struct | hw::trezor::trezor_usb_desc_t |
Namespaces | |
| hw | |
| hw::trezor | |
Macros | |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "device.trezor.transport" |
| #define | PROTO_HEADER_SIZE 6 |
| #define | REPLEN 64 |
Typedefs | |
| using | json = rapidjson::Document |
Functions | |
| bool | hw::trezor::t_serialize (const std::string &in, std::string &out) |
| bool | hw::trezor::t_serialize (const json_val &in, std::string &out) |
| std::string | hw::trezor::t_serialize (const json_val &in) |
| bool | hw::trezor::t_deserialize (const std::string &in, std::string &out) |
| bool | hw::trezor::t_deserialize (const std::string &in, json &out) |
| uint64_t | hw::trezor::pack_version (uint32_t major, uint32_t minor, uint32_t patch) |
| void | hw::trezor::enumerate (t_transport_vect &res) |
| void | hw::trezor::sort_transports_by_env (t_transport_vect &res) |
| std::shared_ptr< Transport > | hw::trezor::transport (const std::string &path) |
| void | hw::trezor::throw_failure_exception (const messages::common::Failure *failure) |
| std::ostream & | hw::trezor::operator<< (std::ostream &o, hw::trezor::Transport const &t) |
| std::ostream & | hw::trezor::operator<< (std::ostream &o, std::shared_ptr< hw::trezor::Transport > const &t) |
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "device.trezor.transport" |
Definition at line 46 of file transport.cpp.
| #define PROTO_HEADER_SIZE 6 |
Definition at line 146 of file transport.cpp.
| #define REPLEN 64 |
Definition at line 190 of file transport.cpp.
| using json = rapidjson::Document |
Definition at line 49 of file transport.cpp.