Closed amotl closed 3 years ago
Instead of relying on the modem revision (R13.06 vs. R14.18), we might want to use the AT+CIPSSL=? command, see also [1].
R13.06
R14.18
AT+CIPSSL=?
When the modem is not capable of SSL, it will respond with ERROR. Otherwise, it will respond with +CIPSSL: (0-1).
ERROR
+CIPSSL: (0-1)
The TinyGSM reference implementation can be found at [2].
[1] https://community.hiveeyes.org/t/unlocking-and-improving-the-pythings-sim800-gprs-module-for-micropython/2978/34 [2] TinyGsmClientSIM800.h#L242-L252
Line 380: ssl_available = self.modem_info >= 'SIM800 R14.00' here i get false with rev R14.18
ssl_available = self.modem_info >= 'SIM800 R14.00'
Instead of relying on the modem revision (
R13.06
vs.R14.18
), we might want to use theAT+CIPSSL=?
command, see also [1].When the modem is not capable of SSL, it will respond with
ERROR
. Otherwise, it will respond with+CIPSSL: (0-1)
.The TinyGSM reference implementation can be found at [2].
[1] https://community.hiveeyes.org/t/unlocking-and-improving-the-pythings-sim800-gprs-module-for-micropython/2978/34 [2] TinyGsmClientSIM800.h#L242-L252