diff --git a/src/TinyGsmClientXBee.h b/src/TinyGsmClientXBee.h index aaead26..e35184f 100644 --- a/src/TinyGsmClientXBee.h +++ b/src/TinyGsmClientXBee.h @@ -413,15 +413,22 @@ class TinyGsmXBee : public TinyGsmModem, } // Gets the modem hardware version - String getModemModelImpl() { + String getModemHardwareVersion() { return sendATGetString(GF("HV")); } // Gets the modem firmware version - String getModemRevisionImpl() { + String getModemFirmwareVersion() { return sendATGetString(GF("VR")); } + // Gets the modem combined version + String getModemRevisionImpl() { + String hw_ver = getModemHardwareVersion(); + String fw_ver = getModemFirmwareVersion(); + return hw_ver + String(" ") + fw_ver; + } + bool setBaudImpl(uint32_t baud) { XBEE_COMMAND_START_DECORATOR(5, false) bool changesMade = false;