Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding set baud rate routine #11783

Merged
merged 2 commits into from
Nov 4, 2019
Merged

Conversation

mirelachirica
Copy link
Contributor

@mirelachirica mirelachirica commented Oct 31, 2019

Description (required)

Added set baud rate routines for cellular devices.

Pull request type (required)

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[x] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results (required)

[x] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers (optional)

@AriParkkila

@ciarmcom ciarmcom requested review from AriParkkila and a team October 31, 2019 12:00
@ciarmcom
Copy link
Member

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

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 31, 2019

CI started

@0xc0170 0xc0170 added the release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0 label Oct 31, 2019
@mbed-ci
Copy link

mbed-ci commented Oct 31, 2019

Test run: SUCCESS

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

Copy link

@AriParkkila AriParkkila left a comment

Choose a reason for hiding this comment

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

LGTM, see also comments/questions.

TESTS/netsocket/tcp/tcpsocket_recv_100k.cpp Outdated Show resolved Hide resolved
features/cellular/framework/AT/ATHandler.cpp Show resolved Hide resolved
features/cellular/framework/AT/AT_CellularDevice.h Outdated Show resolved Hide resolved
_at->set_baud(baud_rate);

// Give some time before starting using the UART with the new baud rate
rtos::ThisThread::sleep_for(3000);

Choose a reason for hiding this comment

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

Could poll with an AT command to make it more responsive?

@@ -119,6 +120,15 @@ void rcv_n_chk_against_rfc864_pattern(TCPSocket &sock)
void TCPSOCKET_RECV_100K()
{
SKIP_IF_TCP_UNSUPPORTED();

#ifdef MBED_CONF_APP_BAUD_RATE

Choose a reason for hiding this comment

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

Should this be modem specific config?

@mirelachirica mirelachirica changed the title Adding set/get baud rate routines Adding set baud rate routine Nov 1, 2019
@0xc0170
Copy link
Contributor

0xc0170 commented Nov 4, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Nov 4, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 2
Build artifacts

@0xc0170 0xc0170 merged commit c908404 into ARMmbed:master Nov 4, 2019
@0xc0170 0xc0170 added release-version: 5.15.0-rc1 and removed release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0 labels Nov 19, 2019
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