'+CME ERROR: 16' alors que pas de PIN

lorsque je relance le deamon pas d’erreur sur le code PIN au début des logs puis après KO, je ne comprends pas la raison. Tout ceci sur la meme relance.

[2024-09-25 12:36:00] INFO  : Start smsd
[2024-09-25 12:36:00] INFO  : Log level : debug
[2024-09-25 12:36:00] INFO  : Socket port : 55002
[2024-09-25 12:36:00] INFO  : Socket host : 127.0.0.1
[2024-09-25 12:36:00] INFO  : PID file : /tmp/jeedom/sms/deamon.pid
[2024-09-25 12:36:00] INFO  : Device : /dev/serial/by-id/usb-USBModem_HSPA_Data_Card_1234567890ABCDEF-if05-port0
[2024-09-25 12:36:00] INFO  : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2024-09-25 12:36:00] INFO  : Cycle : 30.0
[2024-09-25 12:36:00] INFO  : Serial rate : 9600
[2024-09-25 12:36:00] INFO  : Pin : 1234
[2024-09-25 12:36:00] INFO  : Text mode : no
[2024-09-25 12:36:00] INFO  : SMSC : None
[2024-09-25 12:36:00] DEBUG  : Writing PID 105721 to /tmp/jeedom/sms/deamon.pid
[2024-09-25 12:36:00] DEBUG  : Init request module v2.32.3
[2024-09-25 12:36:00] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2024-09-25 12:36:00] DEBUG  : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=VYpaDA7hxxxXQn0aLpVF HTTP/11" 200 0
[2024-09-25 12:36:00] DEBUG  : Socket interface started
[2024-09-25 12:36:00] DEBUG  : LoopNetServer Thread started
[2024-09-25 12:36:00] DEBUG  : Listening on: [127.0.0.1:55002]
[2024-09-25 12:36:00] DEBUG  : Start listening...
[2024-09-25 12:36:00] DEBUG  : Connecting to GSM Modem...
[2024-09-25 12:36:00] DEBUG  : Text mode false
[2024-09-25 12:36:00] DEBUG  : Enter pin code : 1234
[2024-09-25 12:36:00] INFO  : Connecting to modem on port /dev/serial/by-id/usb-USBModem_HSPA_Data_Card_1234567890ABCDEF-if05-port0 at 9600bps
[2024-09-25 12:36:00] DEBUG  : write: AT
[2024-09-25 12:36:00] DEBUG  : response: ['OK']
[2024-09-25 12:36:00] DEBUG  : write: ATZ
[2024-09-25 12:36:00] DEBUG  : response: ['OK']
[2024-09-25 12:36:00] DEBUG  : write ATZ done
[2024-09-25 12:36:00] DEBUG  : write: ATE0
[2024-09-25 12:36:00] DEBUG  : response: ['ATE0\r', 'OK']
[2024-09-25 12:36:00] DEBUG  : write: AT+CFUN?
[2024-09-25 12:36:00] DEBUG  : response: ['+CFUN: 1', 'OK']
[2024-09-25 12:36:00] DEBUG  : write: AT+CMEE=1
[2024-09-25 12:36:00] DEBUG  : response: ['OK']
[2024-09-25 12:36:00] DEBUG  : write: AT+CPIN?
[2024-09-25 12:36:00] DEBUG  : response: ['+CPIN: PH-NET PUK', 'OK']
[2024-09-25 12:36:00] DEBUG  : write: AT+CPIN="1234"
[2024-09-25 12:36:00] DEBUG  : response: ['+CME ERROR: 16']
[2024-09-25 12:36:00] ERROR  : Global listen exception of type IncorrectPinError occurred: CME 16 (Incorrect PIN entered)
[2024-09-25 12:36:00] DEBUG  : Send to jeedom :  {'number': 'none', 'message': 'CME 16 (Incorrect PIN entered)'}
[2024-09-25 12:36:00] ERROR  : Exit 1 because this exeption is fatal

tu es largement hors sujet d’origine, peut-être faudrait-il:

  • soit fermer celui-ci en marquant la solution
  • soit le déplacer dans la bonne catégorie, ajouter le tag du plugin et renommer le sujet.

Pas de solution donc je change de catégorie