[x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library
[x] Bug or issue with library functionality (ie, sending data over TCP/IP)
[ ] Question or request for help
What are you working with?
Modem: u-blox SARA-U201 (SARA-U201-03B-00)
Main processor board: Arduino MKR GSM 1400
TinyGSM version: 0.10.9
Code: AllFunctions example
Scenario, steps to reproduce
Adapt the AllFunctions example to the Arduino MKR GSM 1400 board as specified here
[x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module [ ] Bug or problem compiling the library [x] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help
What are you working with?
Modem: u-blox SARA-U201 (SARA-U201-03B-00) Main processor board: Arduino MKR GSM 1400 TinyGSM version: 0.10.9 Code: AllFunctions example
Scenario, steps to reproduce
Adapt the AllFunctions example to the Arduino MKR GSM 1400 board as specified here
Expected result
Successful output of the AllFunctions example
Actual result
The example fails upon enabling automatic time zone update with
AT+CTZU=1
. The extended error message ("SIM not inserted") is wrong. My guess is that either my network does not support automatic time zone update (NITZ at network registration seems to be an optional feature, see https://www.u-blox.com/sites/default/files/u-blox-CEL_ATCommands_UBX-13002752.pdf, page 63), I'm missing something, or the SARA-U201 firmware has a bug. When commenting out the following lines, everything works as expected: https://github.com/vshymanskyy/TinyGSM/blob/9498800b50baa46c1a0b3f6d0df68cbd3230c025/src/TinyGsmClientUBLOX.h#L194-L196As a quick fix, I propose to simply ignore the return value of
AT+CTZU=1
if it fails.Debug and AT command log