Skip to content

Cellular: Support Cinterion EHS5-E cellular module #10100

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

Merged
merged 5 commits into from
Mar 17, 2019

Conversation

ghseb
Copy link

@ghseb ghseb commented Mar 14, 2019

Description

This PR aims to add basic support for the Cinterion EHS5-E cellular module.

Im not sure if i categorized the PR correctly.

Pull request type

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

Reviewers

Release Notes

@ciarmcom
Copy link
Member

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

@ciarmcom ciarmcom requested review from a team March 14, 2019 14:00
Copy link
Contributor

@cmonr cmonr left a comment

Choose a reason for hiding this comment

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

👍

@cmonr
Copy link
Contributor

cmonr commented Mar 15, 2019

Im not sure if i categorized the PR correctly.

You're good.

{
// EHS5-E
static const intptr_t cellular_properties[AT_CellularBase::PROPERTY_MAX] = {
AT_CellularNetwork::RegistrationModeDisable, // C_GREG

Choose a reason for hiding this comment

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

This should probably be like below due to EHS5-E seems to be:

  • 2G/3G modem
  • With support for IPv4 and IPv6 but not for dual-stack
        AT_CellularNetwork::RegistrationModeDisable,    // C_EREG
        AT_CellularNetwork::RegistrationModeLAC,    // C_GREG
        AT_CellularNetwork::RegistrationModeLAC,    // C_REG
...
        1,  // PROPERTY_IPV4_STACK
        1,  // PROPERTY_IPV6_STACK
        0,  // PROPERTY_IPV4V6_STACK

Copy link
Author

Choose a reason for hiding this comment

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

You are right the registration modes need to be fixed. But i think the module does support dual stack mode

Choose a reason for hiding this comment

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

About dual-stack, according to ehs5-e_atc_v03001.pdf connection must be GPRS0 or GPRS6 and the current driver creates only one internet connection so it can't handle dual-stack yet.

Copy link
Author

Choose a reason for hiding this comment

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

Ok, im going to disable it.

Choose a reason for hiding this comment

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

@ghseb not for ModuleEMS31 :)

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 16, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Mar 16, 2019

Test run: SUCCESS

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

cmonr pushed a commit to cmonr/mbed-os that referenced this pull request Mar 16, 2019
cmonr pushed a commit to cmonr/mbed-os that referenced this pull request Mar 16, 2019
Cellular: Support Cinterion EHS5-E cellular module
@cmonr cmonr merged commit 05f18fc into ARMmbed:master Mar 17, 2019
@ghseb ghseb deleted the support-ehs5-e branch March 18, 2019 06:32
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