We have some issue with BG96 used in Japan.
We do not have 2G here and some operator provides SIM without SMS, another operator does not provide 3G, which causes CREG returns 0,2 (searching) or 0,3 (denied) even though PS attach succeeded.
To check registration status in such situation, we could use CEREG like it is done for "u-blox SARA-R4" module.
I referred TinyGsmClientSaraR4.h for this patch.
We have some issue with BG96 used in Japan. We do not have 2G here and some operator provides SIM without SMS, another operator does not provide 3G, which causes
CREG
returns 0,2 (searching) or 0,3 (denied) even though PS attach succeeded.To check registration status in such situation, we could use
CEREG
like it is done for "u-blox SARA-R4" module. I referredTinyGsmClientSaraR4.h
for this patch.Could you consider to merge this, please?
Many thanks to @SRGDamia1 !