Electroneum
Namespaces | Classes | Typedefs | Functions
hw Namespace Reference

Namespaces

 anonymous_namespace{device.hpp}
 
 core
 
 io
 
 ledger
 
 trezor
 

Classes

class  device_progress
 
class  i_device_callback
 
class  device
 
struct  reset_mode
 
class  device_registry
 
struct  wallet_shim
 
class  tx_aux_data
 
class  device_cold
 

Typedefs

typedef struct hw::wallet_shim wallet_shim
 

Functions

static device_registryget_device_registry (bool clear=false)
 
static void clear_device_registry ()
 
deviceget_device (const std::string &device_descriptor)
 
bool register_device (const std::string &device_name, device *hw_device)
 
void buffer_to_str (char *to_buff, size_t to_len, const char *buff, size_t len)
 
void log_hexbuffer (const std::string &msg, const char *buff, size_t len)
 
void log_message (const std::string &msg, const std::string &info)
 

Typedef Documentation

◆ wallet_shim

Function Documentation

◆ buffer_to_str()

void hw::buffer_to_str ( char *  to_buff,
size_t  to_len,
const char *  buff,
size_t  len 
)

◆ clear_device_registry()

static void hw::clear_device_registry ( )
static

◆ get_device()

device & hw::get_device ( const std::string &  device_descriptor)

◆ get_device_registry()

static device_registry* hw::get_device_registry ( bool  clear = false)
static

◆ log_hexbuffer()

void hw::log_hexbuffer ( const std::string &  msg,
const char *  buff,
size_t  len 
)

◆ log_message()

void hw::log_message ( const std::string &  msg,
const std::string &  info 
)

◆ register_device()

bool hw::register_device ( const std::string &  device_name,
device hw_device 
)