8 #ifndef INCLUDED_UHD_USRP_DBOARD_EEPROM_H     9 #define INCLUDED_UHD_USRP_DBOARD_EEPROM_H    18 struct uhd_dboard_eeprom_t {
    20     std::string last_error;
    25 struct uhd_dboard_eeprom_t;
    39     uhd_dboard_eeprom_handle* h
    48     uhd_dboard_eeprom_handle* h
    53     uhd_dboard_eeprom_handle h,
    60     uhd_dboard_eeprom_handle h,
    66     uhd_dboard_eeprom_handle h,
    73     uhd_dboard_eeprom_handle h,
    83     uhd_dboard_eeprom_handle h,
    89     uhd_dboard_eeprom_handle h,
    95     uhd_dboard_eeprom_handle h,
 UHD_API uhd_error uhd_dboard_eeprom_free(uhd_dboard_eeprom_handle *h)
Safely destroy the given handle. 
 
UHD_API uhd_error uhd_dboard_eeprom_get_serial(uhd_dboard_eeprom_handle h, char *serial_out, size_t strbuffer_len)
Get the daughterboard's serial. 
 
UHD_API uhd_error uhd_dboard_eeprom_set_revision(uhd_dboard_eeprom_handle h, int revision)
Set the daughterboard's revision. 
 
uhd_error
UHD error codes. 
Definition: error.h:21
 
UHD_API uhd_error uhd_dboard_eeprom_get_id(uhd_dboard_eeprom_handle h, char *id_out, size_t strbuffer_len)
Get the ID associated with the given daughterboard as a string hex representation. 
 
struct uhd_dboard_eeprom_t * uhd_dboard_eeprom_handle
A C-level interface for interacting with a daughterboard EEPROM. 
Definition: dboard_eeprom.h:35
 
Definition: dboard_eeprom.hpp:18
 
UHD_API uhd_error uhd_dboard_eeprom_get_revision(uhd_dboard_eeprom_handle h, int *revision_out)
 
UHD_API uhd_error uhd_dboard_eeprom_set_serial(uhd_dboard_eeprom_handle h, const char *serial)
Set the daughterboard's serial. 
 
UHD_API uhd_error uhd_dboard_eeprom_make(uhd_dboard_eeprom_handle *h)
Create handle for a USRP daughterboard EEPROM. 
 
#define UHD_API
Definition: config.h:68
 
UHD_API uhd_error uhd_dboard_eeprom_set_id(uhd_dboard_eeprom_handle h, const char *id)
Set the daughterboard ID using a string hex representation. 
 
UHD_API uhd_error uhd_dboard_eeprom_last_error(uhd_dboard_eeprom_handle h, char *error_out, size_t strbuffer_len)
Get the last error reported by the handle.