1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-27 04:24:12 -04:00

REST API: MIMO device plugins implementations and fixes

This commit is contained in:
f4exb
2019-12-29 10:20:48 +01:00
parent c9219ec8ea
commit 884f83c82a
6 changed files with 114 additions and 74 deletions
@@ -115,34 +115,6 @@ public:
int m_value;
};
class MsgReportGainRange : public Message {
MESSAGE_CLASS_DECLARATION
public:
int getMin() const { return m_min; }
int getMax() const { return m_max; }
int getStep() const { return m_step; }
bool getRxElseTx() const { return m_rxElseTx; }
static MsgReportGainRange* create(int min, int max, int step, bool rxElseTx) {
return new MsgReportGainRange(min, max, step, rxElseTx);
}
protected:
int m_min;
int m_max;
int m_step;
bool m_rxElseTx;
MsgReportGainRange(int min, int max, int step, bool rxElseTx) :
Message(),
m_min(min),
m_max(max),
m_step(step),
m_rxElseTx(rxElseTx)
{}
};
BladeRF2MIMO(DeviceAPI *deviceAPI);
virtual ~BladeRF2MIMO();
virtual void destroy();