Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2024-312 08:11:11
Size: 377
Editor: static-198-54-131-116
Comment: Initial overview of merging lpac-quectel to upstream
Revision 3 as of 2026-141 22:36:00
Size: 872
Editor: unn-169-150-203-26
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#format wiki
{{{#!wiki tip
'''Tip'''
As of 2026, lpac is much easier to use. It replaces the use of AT commands with QMI (or MBIM). The instructions below are no longer relevant.
}}}
Line 3: Line 8:
== WIP ==
Merge the changes in [[https://github.com/estkme-group/lpac/compare/main...pipe:lpac-quectel:main|lpac-quectel's at.c]] into the upstream lpac.
We'll also reduce the size of transmissions to the modem to help the modem keep up.
Line 6: Line 10:
Hopefully, in the future this step will not be necessary. Make the following changes before running `make`.

 1. Merge the changes in [[https://github.com/estkme-group/lpac/compare/main...pipe:lpac-quectel:main|lpac-quectel's at.c]] into the upstream lpac's at.c. [TODO: provide a patch file or get it pushed upstream]
 1. Edit the file euicc/euicc.c to decrease the size of `e10b_mss`
{{{#!c
   ctx->es10x_mss = 60;
}}}


Hopefully, in the future these steps will not be necessary.

Tip As of 2026, lpac is much easier to use. It replaces the use of AT commands with QMI (or MBIM). The instructions below are no longer relevant.

On a Quectel modem, a patch might be needed to reliably send AT commands to the modem. This patch comes from the fork lpac-quectel in the file drivers/at.c

We'll also reduce the size of transmissions to the modem to help the modem keep up.

Make the following changes before running make.

  1. Merge the changes in lpac-quectel's at.c into the upstream lpac's at.c. [TODO: provide a patch file or get it pushed upstream]

  2. Edit the file euicc/euicc.c to decrease the size of e10b_mss

   ctx->es10x_mss = 60;

Hopefully, in the future these steps will not be necessary.

eSIM Adapter/lpac via USB modem/PatchingForQuectel (last edited 2026-141 22:36:00 by unn-169-150-203-26)