BaseStationFeatures
BaseStationFeatures
BaseStationFeatures_analog
BaseStationFeatures_oem
BaseStationFeatures_rs232
BaseStationFeatures_usb
BaseStationFeatures_wsda

Contains information on which features are supported by a BaseStation.

Variables
m_baseInfo
BaseStationInfo m_baseInfo

The BaseStationInfo object containing basic information retrieved from eeprom about the BaseStation.

Functions
BaseStationFeatures
BaseStationFeatures(
BaseStationInfo &info
)

Creates a BaseStationFeatures object.

Parameters
info

A BaseStationInfo object representing standard information of the BaseStation.

create
static std::unique_ptr<BaseStationFeatures> create(
BaseStationInfo &info
)

Builds and returns a BaseStationFeatures pointer based on the given parameters.

Parameters
info

A BaseStationInfo object representing standard information of the BaseStation.

Returns

A BaseStationFeatures unique_ptr.

Exceptions
supportsTransmitPower
bool supportsTransmitPower(
WirelessTypes::TransmitPower power
) const

Checks if a WirelessTypes::TransmitPower is supported by this BaseStation.

Parameters
power

The WirelessTypes::TransmitPower to check if supported.

Returns

true if the transmit power is supported, false otherwise.

supportsButtons
bool supportsButtons() const

Checks if the BaseStation supports Button configuration.

Returns

true if the BaseStation supports Button configuration, false otherwise.

supportsAnalogPairing
bool supportsAnalogPairing() const

Checks if the BaseStation supports Analog Pairing configuration.

Returns

true if the BaseStation supports Analog Pairing, false otherwise.

supportsBeaconStatus
bool supportsBeaconStatus() const

Checks if the BaseStation supports the beaconStatus command.

Returns

true if the BaseStation supports the beacon status command, false otherwise.

supportsRfSweepMode
bool supportsRfSweepMode() const

Checks if the BaseStation supports RF Sweep Mode.

Returns

true if the BaseStation supports RF Sweep Mode, false otherwise.

buttonCount
virtual uint8 buttonCount() const

Gets the total number of buttons that are supported.

Returns

The total number of buttons that are supported.

analogPortCount
virtual uint8 analogPortCount() const

Gets the total number of analog ports that are supported.

Returns

The total number of analog ports that are supported.

transmitPowers
virtual const WirelessTypes::TransmitPowers transmitPowers() const

Gets a list of the WirelessTypes::TransmitPowers that are supported by this BaseStation.

Returns

A vector of WirelessTypes::TransmitPowers that are supported by this BaseStation.

supportsNewTransmitPowers
virtual bool supportsNewTransmitPowers() const

Checks if the BaseStation supports the new transmit powers (true), or the old ones (false).

supportsEepromCommitViaRadioReset
virtual bool supportsEepromCommitViaRadioReset() const

Checks if eeprom changes can be committed by only cycling the radio, instead of cycling power.