Skip to content
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

AT APDU issue without prefix response #179

Open
stich86 opened this issue Dec 15, 2024 · 1 comment
Open

AT APDU issue without prefix response #179

stich86 opened this issue Dec 15, 2024 · 1 comment

Comments

@stich86
Copy link

stich86 commented Dec 15, 2024

Hi @estkme,

me and my friends are playing with a Fibocom FM-350GL module that support eSIM provisioing using AT (it should works also over MBIM but not using USB mode). Now the big problem is that AT commands responds without put back the prefix of the called command, here is an example:

~# lpac chip info
AT_DEBUG: AT+CCHO=?
AT_DEBUG:
AT_DEBUG: OK
AT_DEBUG: AT+CCHC=?
AT_DEBUG:
AT_DEBUG: OK
AT_DEBUG: AT+CGLA=?
AT_DEBUG:
AT_DEBUG: OK
AT_DEBUG: T+CCHC=1
AT_DEBUG:
AT_DEBUG: OK
AT_DEBUG: AT+CCHO="A0000005591010FFFFFFFF8900000100"
AT_DEBUG: AT+CGLA=1,22,"81E2910006BF3E035C015A"
AT_DEBUG:
AT_DEBUG: 1
AT_DEBUG:
AT_DEBUG: OK

I was testing a modification to the loop in the close channel function, which currently counts up to 4. This module throws an error if the AT+CCHC command is sent without including 1.

In the test output, for the CGLA command, we see no reply as expected (+CGLA: 1), but only 1. A friend of mine reworked part of the AT PDU handling logic, but I think it can be improved further.

Here’s the repository for reference: https://github.com/SuperKali/lpac.

Do you have any suggestions? @SuperKali and I are happy to test any modifications you propose. Could you also help refine or correct the code?

Thanks in advance!

@stich86 stich86 changed the title AT PDU issue without prefix response AT APDU issue without prefix response Dec 15, 2024
@stich86
Copy link
Author

stich86 commented Dec 27, 2024

@CoelacanthusHex are you able to help us? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant