Deprecated RPC methods readRemoteReg and writeRemoteReg are used
Summary
writeRemoteReg
and readRemoteReg
are marked as deprecated but are still in use.
Steps to reproduce
Follow the build instructions.
What is the current bug behavior?
Deprecated functionality is used.
What is the expected correct behavior?
Deprecated functionality is not used.
Relevant logs and/or screenshots
../gemhardware/devices/src/GEMHwDevice.cpp: In member function ‘uint32_t gem::hw::GEMHwDevice::readReg(const string&)’:
../gemhardware/devices/src/GEMHwDevice.cpp:56:43: warning: ‘readRemoteReg’ is deprecated [-Wdeprecated-declarations]
res = xhal::client::call<::utils::readRemoteReg>(rpc, name);
^~~~~~~~~~~~~
In file included from gemhardware/devices/_interface/gem/hw/devices/GEMHwDevice.h:16,
from ../gemhardware/devices/src/GEMHwDevice.cpp:7:
gemrpc/_interface/gem/rpc/utils.h:74:23: note: declared here
struct [[deprecated]] readRemoteReg : public xhal::common::Method
^~~~~~~~~~~~~
../gemhardware/devices/src/GEMHwDevice.cpp: In member function ‘void gem::hw::GEMHwDevice::writeReg(const string&, uint32_t)’:
../gemhardware/devices/src/GEMHwDevice.cpp:71:37: warning: ‘writeRemoteReg’ is deprecated [-Wdeprecated-declarations]
xhal::client::call<::utils::writeRemoteReg>(rpc, name, val);
^~~~~~~~~~~~~~
In file included from gemhardware/devices/_interface/gem/hw/devices/GEMHwDevice.h:16,
from ../gemhardware/devices/src/GEMHwDevice.cpp:7:
gemrpc/_interface/gem/rpc/utils.h:86:23: note: declared here
struct [[deprecated]] writeRemoteReg : public xhal::common::Method
^~~~~~~~~~~~~~
Environment
- Version used:
develop
- Operation System:
gem904daq04