18 #ifndef INCLUDED_UHD_USRP_MBOARD_EEPROM_H 19 #define INCLUDED_UHD_USRP_MBOARD_EEPROM_H 28 struct uhd_mboard_eeprom_t {
30 std::string last_error;
35 struct uhd_mboard_eeprom_t;
49 uhd_mboard_eeprom_handle* h
58 uhd_mboard_eeprom_handle* h
63 uhd_mboard_eeprom_handle h,
71 uhd_mboard_eeprom_handle h,
78 uhd_mboard_eeprom_handle h,
UHD_API uhd_error uhd_mboard_eeprom_set_value(uhd_mboard_eeprom_handle h, const char *key, const char *value)
Set the value for the given EEPROM key.
struct uhd_mboard_eeprom_t * uhd_mboard_eeprom_handle
A C-level interface for interacting with a USRP motherboard's EEPROM.
Definition: mboard_eeprom.h:45
uhd_error
UHD error codes.
Definition: error.h:31
UHD_API uhd_error uhd_mboard_eeprom_get_value(uhd_mboard_eeprom_handle h, const char *key, char *value_out, size_t strbuffer_len)
Get the value associated with the given EEPROM key.
#define UHD_API
Definition: config.h:73
UHD_API uhd_error uhd_mboard_eeprom_free(uhd_mboard_eeprom_handle *h)
Free a USRP motherboard EEPROM handle.
UHD_API uhd_error uhd_mboard_eeprom_last_error(uhd_mboard_eeprom_handle h, char *error_out, size_t strbuffer_len)
Get the last error recorded by the handle.
Definition: mboard_eeprom.hpp:35
UHD_API uhd_error uhd_mboard_eeprom_make(uhd_mboard_eeprom_handle *h)
Create a handle for working with a USRP motherboard EEPROM.