Skip to content

Conversation

jarvte
Copy link
Contributor

@jarvte jarvte commented Feb 13, 2019

Description

Fix onboard modem power up failures.

  • don't call soft power on if device was already powered
  • some modems need to wait before sending anything to modem after soft powering

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@AriParkkila

@ciarmcom ciarmcom requested review from AriParkkila and a team February 13, 2019 14:00
@ciarmcom
Copy link
Member

@jarvte, thank you for your changes.
@AriParkkila @ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

@@ -19,7 +19,7 @@
#include "cellular/onboard_modem_api.h"
#include "UARTSerial.h"
#include "ONBOARD_TELIT_HE910.h"
#include "CellularLog.h"
#include "ThisThread.h"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tr_debug may need CellularLog, if not coming from other includes..?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once this is resolved, will start CI

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Cellularlog to both targets.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 14, 2019

  • don't call soft power on if device was already powered
  • some modems need to wait before sending anything to modem after soft powering

Why aren't this captured in the commit msg?

Don't call soft power on if device was already powered.
Some modems need to wait before sending anything to modem after soft powering.
@jarvte jarvte force-pushed the fix_powering_onboard_modems branch from 8b09108 to e4018bd Compare February 14, 2019 10:43
@jarvte
Copy link
Contributor Author

jarvte commented Feb 14, 2019

  • don't call soft power on if device was already powered
  • some modems need to wait before sending anything to modem after soft powering

Why aren't this captured in the commit msg?

Updated commit msg.

@cmonr
Copy link
Contributor

cmonr commented Feb 14, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 14, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 1
Build artifacts

@cmonr cmonr merged commit 67abaf5 into ARMmbed:master Feb 15, 2019
@jarvte jarvte deleted the fix_powering_onboard_modems branch March 5, 2019 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants