mirror of
https://github.com/vshymanskyy/TinyGSM.git
synced 2026-05-15 04:06:10 +00:00
Fix get versions for XBee
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -413,15 +413,22 @@ class TinyGsmXBee : public TinyGsmModem<TinyGsmXBee>,
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user