pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

LTE: `lte_check_attached` returns false #519

Open sven-hm opened 3 years ago

sven-hm commented 3 years ago

CEREG was set to 1 in this commit, so the answer to an "AT+CEREG?" will only contain information up to the <stat>-value. Reading the code of lte_check_attached in modlte.c it seems with legacy=true and when "AT+CGATT?" returns 0 it will always return false.

I'm wondering if this is expected behavior and if i want to fix it this part of the conditional can safely be removed?

gijsio commented 3 years ago

You're correct this is an issue, you'll probably see it fixed in the next release!

peter-pycom commented 3 years ago

internal PR: https://github.com/pycom/Firmware-Development/pull/221

scottbasgaard commented 2 years ago

internal PR: https://github.com/pycom/Firmware-Development/pull/221

Was this fixed?