Skip to content

PPPCellularInterface::connect calls nwk_registration with a hard coded value #7213

@cedrickkukela-cd

Description

@cedrickkukela-cd

Description

While attempting to bring on a new target enabled target mbed, I noticed that in PPPCellularInterface::connect the value passed to nwk_registration is hard coded. Since this value is used to switch between at+creg and at+cgreg, I effectively locks you into using at+cgreg for registration. This may not be a problem on cat 1 modems but on cat m modems such a Ublox r410, at+cgreg will always return a 0,4. Only creg and cereg will return the proper value. I was wondering if there was a fix for this issue in place or should i extend the interface to support nwk_type.

@maclobdell

Issue request type

[ ] Question
[x] Enhancement
[ ] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions