Hello,

I had the same question a while ago, and found an explanation:

https://lists.freedesktop.org/archives/modemmanager-devel/2018-January/006142.html

Best regards,

Uli

Am 11.01.2023 um 09:10 schrieb Vanja Žerić:

Hello everyone,

I am working with some USB Connectivity Module and I am using ModemManager to get status of SIM PIN. When I am using C app that is using ModemManager library and when I extract status of SIM PIN, I am getting that SIM requires PIN2 (MM_MODEM_LOCK_SIM_PIN2), but when I send AT command I am getting that SIM is READY, that means that SIM is unlocked. SIM is connected correctly, but it seems only that message is wrong.
After calling test app:

After calling AT command:

I am getting correct PIN status messages if SIM requires PIN or PUK, I tested it, but when I send correct PIN, SIM connects, but PIN status message is that SIM requires PIN2.

This is how I am extracting the status:
This is prototype of my function:

**

This is how I extract status in that function:

Hal_modem_pin_status_enum convert MM PIN status to my enum…

Does anyone has any idea?

Best regars,
Vanja Zeric

CONFIDENTIALITY: The contents of this e-mail are confidential and intended only for the above addressee(s). If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, copying or delivering it to anyone else or using it in any unauthorized manner is prohibited and may be unlawful. If you receive this e-mail by mistake, please notify the sender and the systems administrator at straym...@tttech.com immediately.

--
Best regards / Mit freundlichen Grüßen / Salutations distinguées

Ulrich Mohr

SEMEX-EngCon GmbH
Carl-Merz-Strass 26
76275 Ettlingen
Phone: +49 (0) 7243 5143596
email:u.m...@semex-engcon.com
___________________________________________
Executive board: A. Stiegler, H.-J. Nitzpon
Commercial register: Mannheim, HRB 718881
Company domicile: Ettlingen

Reply via email to