Xinyuan-LilyGO / LilyGo-T-SIM7080G

42 stars 22 forks source link

`_modem.getModemName()` returns ` AT+GMM SIMCOM SIM7080` #44

Closed mathieucarbou closed 1 month ago

mathieucarbou commented 3 months ago

AT+GMM is prepended because the parsing logic is wrong in TinyGsmClientSIM70xx.h

AT Debug output:

>> AT+GMM
<< AT+GMM
<< SIMCOM_SIM7080

The following code can be used as a workaround:

_modem.sendAT("+GMM");
_modem.waitResponse("AT+GMM");
_modem.stream.readStringUntil('\n');
String model = _modem.stream.readStringUntil('\n');
model.trim();
model.replace("_", " ");
github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.