Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Release 1.20.2.r3 #508

Merged
merged 11 commits into from
Dec 23, 2020
Merged

Release 1.20.2.r3 #508

merged 11 commits into from
Dec 23, 2020

Conversation

peter-pycom
Copy link
Contributor

No description provided.

gijsio and others added 11 commits November 30, 2020 12:19
since 26adae2 it is possible that the lte task is not running. with this commit we can safely check the status, notably from modmachine.c machine_deepsleep()
previously lora was only /not started/ with pyethernet enabled. but when user tries to use it, it crashes with a nasty looking error:
https://forum.pycom.io/topic/6176/pygate-assert-failed-error/2

with this change, lora can be fully excluded now and a user would get the much cleaner: ImportError: cannot import name LoRa
no functional change, but make the code a little more readable by pulling the semaphore and edits into a function and use more intuitive fct names
when the LTE modem is in 'FFH' mode or in 'RECOVERY' mode, we can't use normal LTE functionality
the modem is normally brought into this state if a user starts a modem firmware update, but it is not completed successfully
the next logical step is to perform/finish the upgrade

FFH and RECOVERY are using 115200 baud. normal "FFF" modem firmware mode uses 921600.

So, when we do not get a response at 921600, but we do get a response at 115200, we advise the user to perform upgrade
@Xykon Xykon self-requested a review December 23, 2020 15:40
@Xykon Xykon merged commit 7d80661 into Release/v1.20 Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants