-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Fix to use PPP stack in PPP mode #9101
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
Conversation
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for PPP mode and our stack was used. Also BG96 needed to be added AT_CellularBase::AT_CGDATA as not supported.
eaaf44d
to
fc4ed93
Compare
If that ifdef is the way the rest of your code is switched, then so be it. But as a concept I'm not keen on flagging like this. "If the system supports PPP, this driver uses PPP, else it's a command-based driver". Should it not in principle be possible to drive the modem with the AT commands even if the system supports PPP? I would have thought it made more sense to have 2 driver classes - the PPP one and the non-PPP one. A single test image could exercise both... |
@jarvte, thank you for your changes. |
Question: Ari Parkkila is part of mbed-os-wan but he accepted this before setting mbed-os-wan as a reviewer. Now github shows that mbed-os-wan has not accepted. Is this a github issue or can we do something about this? |
He was too fast :-) It's OK , We can proceed with CI now |
@jarvte thanks for the PR! This is important to unblock critical ongoing work. As a side note, the enablement work on adding Cellular support for a new target (not necessarily inside Mbed OS) is not trivial - this depends on ifdef config inside Mbed OS. mbed-os/features/cellular/framework/common/CellularTargets.h Lines 23 to 43 in 3b138fb
For cellular, I'd like us to consider moving to a configuration based system aligned with other solutions. For example, see connectivity drivers here for ESP8266, using FYI @kjbracey-arm @sg- |
@MarceloSalazar Can you create a new issue and mention @ARMmbed/mbed-os-wan for review (will be triaged). CI started |
@MarceloSalazar Removing CELLULAR_DEVICE macro is already ongoing: See IOTCELL-1547. |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for
PPP mode and our stack was used instead of PPP stack.
@AriParkkila please review
Pull request type