-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drivers: modem: add Telit ME910G1 #63711
drivers: modem: add Telit ME910G1 #63711
Conversation
Hello @jeffwelder-ellenbytech, and thank you very much for your first pull request to the Zephyr project! |
Looks good :) FYI it will take a while to get merged because of the feature freeze :) |
9bc7ff0
to
1397f3e
Compare
1397f3e
to
3350ea8
Compare
Refactor device macro to be custom for each modem to allow custom configurations. Signed-off-by: Jeff Welder <[email protected]>
590d03b
to
b60d0bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work :)
@rerickson1 Could you review this :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the looks of it, it seems that modem_cellular.c
can grow indefinitely, as the number of supported modem grows?
@@ -0,0 +1,23 @@ | |||
# Copyright(c) 2023 Jeff Welder(Ellenby Technologies, Inc.) | |||
# SPDX - License - Identifier : Apache - 2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably wants to be SPDX-License-Identifier: Apache-2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffwelder-ellenbytech please fix this.
@ycsin The driver is capable of supporing an "infinite" amount of modems, as long as said modems implement the standard AT commands, CMUX and PPP. However, the driver is an MVP, so it will not get any fancy non generic features, like setting radio access tech, sending sms, internal gnss, etc. so it should not grow in complexity :) |
Add Telit to vendor-prefixes, and add ME910G1 bindings Signed-off-by: Jeff Welder <[email protected]>
b60d0bf
to
90f1439
Compare
Fixed the licensing. |
Love it! I have added the DNM (Do Not Merge) label until you merge the fixes, you can remove it and re-request reviews when ready :) |
Added chat script and initial config to support Telit ME910G1. Needed to edit power_pulse pin timing in accordance to datasheet. Signed-off-by: Jeff Welder <[email protected]>
Added bindings to build_all test for new Telit ME910G1 Modem. Signed-off-by: Jeff Welder <[email protected]>
90f1439
to
e4477ae
Compare
I updated the chat scripts to have a more stable experience with the modem. Specifically I was having trouble with Verizon/AT&T eSIMs either giving an error or taking unusually long for setting the APN. Init Script:
Dial Script:
Also changed power on/off pulse in accordance to Telit's guidance. If the network is too fast to register, the state machine in the dial script will miss the unsolicited registration status, and hang forever. This is fixed in @bjarki-trackunit 's #64659 by polling the registration state which I tested this morning as working. 😄 Also think I need someone to remove DNM label. |
Hi @jeffwelder-ellenbytech! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
Added Telit ME910G1 dts and modem chat scripts.
Refactor device macro to be custom for each modem to allow custom configurations on each modem (assisted by @bjarki-trackunit).
(This was needed by Telit ME910G1 to allow for ON_OFF to be toggled for minimum of 5 seconds as per Telit)