SMS Dispatch Manager Table des matières

Diagnostics et maintenance du modem GSM

Introduction

Méthode de diagnostic

Envoi de SMS de test

Exemple d'erreur liée à un niveau de réception signal insuffisant

Mode Terminal et dialogue direct par command AT (Hayes)

Lecture du contenu de la carte SIM

Service center des opérateurs (SMSC)

Introduction

SMS Dispatch Manager dispose en interne de nombreux outils de diagnostic et de vérification de fonctionnement de la chaîne complète de communication.

Le bon fonctionnement de la solution dépend de SMS Dispatch Manager mais aussi de nombreux composants matériels et logiciels. Pour chaque composant il faut s'assurer que la configuration soit correcte et que les services soient présents.

La solution complète qui permettra d'envoyer les SMS aux destinataires est opérationnelle si:

De nombreux diagnostics peuvent être réalisés à partir de SMS Dispatch Manager et de l'onglet Modem troubleshooting du Setup

Troubleshooting

Méthode de diagnostic

Pourquoi l'envoi de SMS n'est pas opérationnel alors que le modem GSM est connecté ?

Cela peut être dû aux facteurs ci-dessous:

Que faire si les SMS ne sont pas délivrés ?

Si les SMS ne sont pas délivrés, cela peut être dû à des causes multiples, verifiez alors les points suivants:

Envoi de SMS de test

Pour vérifier la chaîne complète de fonctionnement, le plus simple est de s'envoyer un SMS.

Dans la zone Send SMS entrer le numéro de téléphone associé à la carte SIM du modem GSM, entrer un texte et cliquer Send.

Il faut préalablement activer le Log Type de façon à générer des fichiers de log en sélectionnant Error and status log

Troubleshooting

Une fenêtre annonce l'envoi réussi du SMS.

sms sent successful

Sélectionner ensuite l'onglet Incoming Messages pour vérifier que le SMS a été reçu.

sms received

Log de l'envoi du message de test:

12/06/2009 12:12:40: Port: COM1
12/06/2009 12:12:40: BaudRate: 57600
12/06/2009 12:12:40: DataBits: 8
12/06/2009 12:12:40: Parity: N
12/06/2009 12:12:40: StopBits: 1
12/06/2009 12:12:40: PIN:
12/06/2009 12:12:40: Send Delay: 1000ms
12/06/2009 12:12:40: Send Retry: 2
12/06/2009 12:12:40: Set communication timeout = 5000 milliseconds
12/06/2009 12:12:40: Timeout: 5000ms
12/06/2009 12:12:40: Encoding: 7-Bit
12/06/2009 12:12:40: Send AT command [AT+CMEE=1<cr>]
12/06/2009 12:12:40: Serial port is not open
12/06/2009 12:12:40: Opening port COM1 [baud=57600 parity=N data=8 stop=1]
12/06/2009 12:12:40: Verifying if port connected
12/06/2009 12:12:40: Port is connected
12/06/2009 12:12:40: Verifying if modem is connected
12/06/2009 12:12:40: Send AT command [AT<cr>]
12/06/2009 12:12:40: Send: AT<cr>
12/06/2009 12:12:41: Recv: OK
12/06/2009 12:12:41: Modem is connected
12/06/2009 12:12:41: Checking ME activity status
12/06/2009 12:12:41: Send AT command [AT+CPAS<cr>]
12/06/2009 12:12:41: Send: AT+CPAS<cr>
12/06/2009 12:12:41: Recv: +CPAS: 0<cr><lf><cr><lf>OK
12/06/2009 12:12:41: ME is in ready state
12/06/2009 12:12:41: Send AT command [AT+CMEE=1<cr>]
12/06/2009 12:12:41: Send: AT+CMEE=1<cr>
12/06/2009 12:12:42: Recv: OK
12/06/2009 12:12:42: Checking PIN status
12/06/2009 12:12:42: Send AT command [AT+CPIN?<cr>]
12/06/2009 12:12:42: Send: AT+CPIN?<cr>
12/06/2009 12:12:42: Recv: +CPIN: READY
12/06/2009 12:12:42: Checking ME activity status
12/06/2009 12:12:42: Send AT command [AT+CPAS<cr>]
12/06/2009 12:12:42: Send: AT+CPAS<cr>
12/06/2009 12:12:43: Recv: +CPAS: 0<cr><lf><cr><lf>OK
12/06/2009 12:12:43: ME is in ready state
12/06/2009 12:12:43: Disable modem echo
12/06/2009 12:12:43: Send AT command [ATE0<cr>]
12/06/2009 12:12:43: Send: ATE0<cr>
12/06/2009 12:12:43: Recv: OK
12/06/2009 12:12:43: Enable long result code format
12/06/2009 12:12:43: Send AT command [ATV1<cr>]
12/06/2009 12:12:43: Send: ATV1<cr>
12/06/2009 12:12:44: Recv: OK
12/06/2009 12:12:44: Enable result code with numeric values
12/06/2009 12:12:44: Send AT command [AT+CMEE=1<cr>]
12/06/2009 12:12:44: Send: AT+CMEE=1<cr>
12/06/2009 12:12:44: Recv: OK
12/06/2009 12:12:44: Disable network registration unsolicited result code
12/06/2009 12:12:44: Send AT command [AT+CREG=0<cr>]
12/06/2009 12:12:44: Send: AT+CREG=0<cr>
12/06/2009 12:12:45: Recv: OK
12/06/2009 12:12:45: Checking network registration status
12/06/2009 12:12:45: Send AT command [AT+CREG?<cr>]
12/06/2009 12:12:45: Send: AT+CREG?<cr>
12/06/2009 12:12:45: Recv: +CREG: 0,1<cr><lf><cr><lf>OK
12/06/2009 12:12:45: Setting PDU mode in GSM modem
12/06/2009 12:12:45: Send AT command [AT+CMGF=0<cr>]
12/06/2009 12:12:45: Send: AT+CMGF=0<cr>
12/06/2009 12:12:46: Recv: OK
12/06/2009 12:12:46: Disable new message indication
12/06/2009 12:12:46: Send AT command [AT+CNMI=2,0,0,0,0<cr>]
12/06/2009 12:12:46: Send: AT+CNMI=2,0,0,0,0<cr>
12/06/2009 12:12:46: Recv: OK
12/06/2009 12:12:46: Port COM1 opened [baud=57600 parity=N data=8 stop=1]
12/06/2009 12:12:46: Send: AT+CMEE=1<cr>
12/06/2009 12:12:47: Recv: OK
12/06/2009 12:12:47: Checking PIN status
12/06/2009 12:12:47: Send AT command [AT+CPIN?<cr>]
12/06/2009 12:12:47: Send: AT+CPIN?<cr>
12/06/2009 12:12:47: Recv: +CPIN: READY
12/06/2009 12:12:47: Checking network registration status
12/06/2009 12:12:47: Send AT command [AT+CREG?<cr>]
12/06/2009 12:12:47: Send: AT+CREG?<cr>
12/06/2009 12:12:48: Recv: +CREG: 0,1<cr><lf><cr><lf>OK
12/06/2009 12:12:48: Reading SMSC number
12/06/2009 12:12:48: Send AT command [AT+CSCA?<cr>]
12/06/2009 12:12:48: Send: AT+CSCA?<cr>
12/06/2009 12:12:48: Recv: +CSCA: "+33609001390",145<cr><lf><cr><lf>OK
12/06/2009 12:12:48: SMSC: +33609001390
12/06/2009 12:12:48: Setting message memory as 'SM'
12/06/2009 12:12:48: Send AT command [AT+CPMS="SM",,"SM"<cr>]
12/06/2009 12:12:48: Send: AT+CPMS="SM",,"SM"<cr>
12/06/2009 12:12:49: Recv: +CMS ERROR: 302
12/06/2009 12:12:49: Send AT command [AT+CPMS="SM"<cr>]
12/06/2009 12:12:49: Send: AT+CPMS="SM"<cr>
12/06/2009 12:12:49: Recv: +CPMS: 3,50,3,50<cr><lf><cr><lf>OK
12/06/2009 12:12:49: Message memory set as 'SM'
12/06/2009 12:12:53: Sending message to 0604024528 [Option: 3; Encoding: 7 bits]
12/06/2009 12:12:53: Modem Command: AT+CMGS=17<cr>
12/06/2009 12:12:53: Recv: <cr><lf>>
12/06/2009 12:12:53: PDU: 07913306091093F011000A8160402054820000A704F4F29C0E
12/06/2009 12:12:57: Modem Response: +CMGS: 151
12/06/2009 12:12:57: Message sent [Msg ID: 151]

Log de la collecte des SMS en mémoire

12/06/2009 12:15:54: Verifying if port connected
12/06/2009 12:15:54: Port is connected
12/06/2009 12:15:54: Verifying if modem is connected
12/06/2009 12:15:54: Send AT command [AT<cr>]
12/06/2009 12:15:54: Send: AT<cr>
12/06/2009 12:15:55: Recv: OK
12/06/2009 12:15:55: Modem is connected
12/06/2009 12:15:55: Reading incoming messages [Option-2]
12/06/2009 12:15:55: Modem Command: AT+CMGL=1<cr>
12/06/2009 12:15:56: Modem Response: <cr><lf>+CMGL: 1,1,,40<cr><lf>07913306091093F0040B913306044225F800009060211145038018CDF27C1E3E9741F3B29B0EA2BF41EDFCBCCC36D341<cr><lf>+CMGL: 2,1,,23<cr><lf>07913386094000F0040B913336322886F70000906011616102800430184C06<cr><lf><cr><lf>OK<cr><lf>
12/06/2009 12:15:56: Modem Command: AT+CMGL=0<cr>
12/06/2009 12:15:57: Modem Response: <cr><lf>+CMGL: 3,0,,39<cr><lf>07913306091093F0040B913306044225F800009060212170848016D3B29B0C6A97E7F3F0B90CA2BF41EDFCBCCC3603<cr><lf>+CMGL: 4,0,,23<cr><lf>07913306091093F0040B913306044225F800009060212121558004F4F29C0E<cr><lf><cr><lf>OK<cr><lf>
12/06/2009 12:15:57: Processing incoming messages [4 Msgs]
12/06/2009 12:16:02: Verifying if port connected
12/06/2009 12:16:02: Port is connected
12/06/2009 12:16:02: Verifying if modem is connected
12/06/2009 12:16:02: Send AT command [AT<cr>]
12/06/2009 12:16:02: Send: AT<cr>
12/06/2009 12:16:03: Recv: OK
12/06/2009 12:16:03: Modem is connected

Exemple d'erreur liée à un niveau de réception signal insuffisant

A la tentative d'envoi d'un message une erreur est retourné

erreur niveau insuffisant

Log associé

12/06/2009 13:06:15: ERROR [1009] Cannot change port setting when connected
12/06/2009 13:06:15: ERROR [1009] Cannot change port setting when connected
12/06/2009 13:06:15: ERROR [1009] Cannot change port setting when connected
12/06/2009 13:06:15: ERROR [1009] Cannot change port setting when connected
12/06/2009 13:06:15: ERROR [1009] Cannot change port setting when connected
12/06/2009 13:06:15: PIN:
12/06/2009 13:06:15: Send Delay: 1000ms
12/06/2009 13:06:15: Send Retry: 2
12/06/2009 13:06:15: Set communication timeout = 5000 milliseconds
12/06/2009 13:06:15: Timeout: 5000ms
12/06/2009 13:06:15: Encoding: 7-Bit
12/06/2009 13:06:15: Setting SMSC as '+33609001390'
12/06/2009 13:06:15: Send AT command [AT+CSCA="+33609001390"<cr>]
12/06/2009 13:06:15: Send: AT+CSCA="+33609001390"<cr>
12/06/2009 13:06:16: Recv: OK
12/06/2009 13:06:16: SMSC number set as '+33609001390'
12/06/2009 13:06:16: Setting message memory as 'SM'
12/06/2009 13:06:16: Send AT command [AT+CPMS="SM",,"SM"<cr>]
12/06/2009 13:06:16: Send: AT+CPMS="SM",,"SM"<cr>
12/06/2009 13:06:16: Recv: +CMS ERROR: 302
12/06/2009 13:06:16: Send AT command [AT+CPMS="SM"<cr>]
12/06/2009 13:06:16: Send: AT+CPMS="SM"<cr>
12/06/2009 13:06:17: Recv: +CPMS: 4,50,4,50<cr><lf><cr><lf>OK
12/06/2009 13:06:17: Message memory set as 'SM'
12/06/2009 13:06:17: Sending message to 0604024528 [Option: 3; Encoding: 7 bits]
12/06/2009 13:06:17: Modem Command: AT+CMGS=23<cr>
12/06/2009 13:06:17: Recv: <cr><lf>>
12/06/2009 13:06:17: PDU: 07913306091093F011000A8160402054820000A70BF3B29B0C0AD34135170D
12/06/2009 13:06:18: Modem Response: +CMS ERROR: 512
12/06/2009 13:06:18: Closing port COM1
12/06/2009 13:06:18: Port COM1 closed
12/06/2009 13:06:18: ERROR [4012] Invalid response to submit PDU [Response: +CMS ERROR: 512] [Send Attempt: 1]
12/06/2009 13:06:18: Opening port COM1 [baud=57600 parity=N data=8 stop=1]
12/06/2009 13:06:18: Verifying if port connected
12/06/2009 13:06:18: Port is connected
12/06/2009 13:06:18: Verifying if modem is connected
12/06/2009 13:06:18: Send AT command [AT<cr>]
12/06/2009 13:06:18: Send: AT<cr>
12/06/2009 13:06:19: Recv: OK
12/06/2009 13:06:19: Modem is connected
12/06/2009 13:06:19: Checking ME activity status
12/06/2009 13:06:19: Send AT command [AT+CPAS<cr>]
12/06/2009 13:06:19: Send: AT+CPAS<cr>
12/06/2009 13:06:19: Recv: +CPAS: 0<cr><lf><cr><lf>OK
12/06/2009 13:06:19: ME is in ready state
12/06/2009 13:06:19: Send AT command [AT+CMEE=1<cr>]
12/06/2009 13:06:19: Send: AT+CMEE=1<cr>
12/06/2009 13:06:20: Recv: OK
12/06/2009 13:06:20: Checking PIN status
12/06/2009 13:06:20: Send AT command [AT+CPIN?<cr>]
12/06/2009 13:06:20: Send: AT+CPIN?<cr>
12/06/2009 13:06:20: Recv: +CPIN: READY
12/06/2009 13:06:20: Checking ME activity status
12/06/2009 13:06:20: Send AT command [AT+CPAS<cr>]
12/06/2009 13:06:20: Send: AT+CPAS<cr>
12/06/2009 13:06:21: Recv: +CPAS: 0<cr><lf><cr><lf>OK
12/06/2009 13:06:21: ME is in ready state
12/06/2009 13:06:21: Disable modem echo
12/06/2009 13:06:21: Send AT command [ATE0<cr>]
12/06/2009 13:06:21: Send: ATE0<cr>
12/06/2009 13:06:21: Recv: OK
12/06/2009 13:06:21: Enable long result code format
12/06/2009 13:06:21: Send AT command [ATV1<cr>]
12/06/2009 13:06:21: Send: ATV1<cr>
12/06/2009 13:06:22: Recv: OK
12/06/2009 13:06:22: Enable result code with numeric values
12/06/2009 13:06:22: Send AT command [AT+CMEE=1<cr>]
12/06/2009 13:06:22: Send: AT+CMEE=1<cr>
12/06/2009 13:06:23: Recv: OK
12/06/2009 13:06:23: Disable network registration unsolicited result code
12/06/2009 13:06:23: Send AT command [AT+CREG=0<cr>]
12/06/2009 13:06:23: Send: AT+CREG=0<cr>
12/06/2009 13:06:23: Recv: OK
12/06/2009 13:06:23: Checking network registration status
12/06/2009 13:06:23: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:23: Send: AT+CREG?<cr>
12/06/2009 13:06:24: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:24: Modem is searching for a new operator to register to
12/06/2009 13:06:25: Checking network registration status again after 1000ms delay
12/06/2009 13:06:25: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:25: Send: AT+CREG?<cr>
12/06/2009 13:06:25: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:25: Modem is searching for a new operator to register to
12/06/2009 13:06:26: Checking network registration status again after 1000ms delay
12/06/2009 13:06:26: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:26: Send: AT+CREG?<cr>
12/06/2009 13:06:27: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:27: Modem is searching for a new operator to register to
12/06/2009 13:06:28: Checking network registration status again after 1000ms delay
12/06/2009 13:06:28: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:28: Send: AT+CREG?<cr>
12/06/2009 13:06:28: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:28: Modem is searching for a new operator to register to
12/06/2009 13:06:29: Checking network registration status again after 1000ms delay
12/06/2009 13:06:29: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:29: Send: AT+CREG?<cr>
12/06/2009 13:06:30: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:30: Modem is searching for a new operator to register to
12/06/2009 13:06:31: Checking network registration status again after 1000ms delay
12/06/2009 13:06:31: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:31: Send: AT+CREG?<cr>
12/06/2009 13:06:31: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:31: Modem is searching for a new operator to register to
12/06/2009 13:06:32: Checking network registration status again after 1000ms delay
12/06/2009 13:06:32: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:32: Send: AT+CREG?<cr>
12/06/2009 13:06:33: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:33: Modem is searching for a new operator to register to
12/06/2009 13:06:34: Checking network registration status again after 1000ms delay
12/06/2009 13:06:34: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:34: Send: AT+CREG?<cr>
12/06/2009 13:06:34: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:34: Modem is searching for a new operator to register to
12/06/2009 13:06:35: Checking network registration status again after 1000ms delay
12/06/2009 13:06:35: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:35: Send: AT+CREG?<cr>
12/06/2009 13:06:36: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:36: Modem is searching for a new operator to register to
12/06/2009 13:06:37: Checking network registration status again after 1000ms delay
12/06/2009 13:06:37: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:37: Send: AT+CREG?<cr>
12/06/2009 13:06:38: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:38: Modem is searching for a new operator to register to
12/06/2009 13:06:39: Checking network registration status again after 1000ms delay
12/06/2009 13:06:39: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:39: Send: AT+CREG?<cr>
12/06/2009 13:06:39: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:39: Modem is searching for a new operator to register to
12/06/2009 13:06:40: Checking network registration status again after 1000ms delay
12/06/2009 13:06:40: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:40: Send: AT+CREG?<cr>
12/06/2009 13:06:41: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:41: Modem is searching for a new operator to register to
12/06/2009 13:06:42: Checking network registration status again after 1000ms delay
12/06/2009 13:06:42: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:42: Send: AT+CREG?<cr>
12/06/2009 13:06:42: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:42: Modem is searching for a new operator to register to
12/06/2009 13:06:43: Checking network registration status again after 1000ms delay
12/06/2009 13:06:43: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:43: Send: AT+CREG?<cr>
12/06/2009 13:06:44: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:44: Modem is searching for a new operator to register to
12/06/2009 13:06:45: Checking network registration status again after 1000ms delay
12/06/2009 13:06:45: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:45: Send: AT+CREG?<cr>
12/06/2009 13:06:45: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:45: Modem is searching for a new operator to register to
12/06/2009 13:06:46: Checking network registration status again after 1000ms delay
12/06/2009 13:06:46: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:46: Send: AT+CREG?<cr>
12/06/2009 13:06:47: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:47: Modem is searching for a new operator to register to
12/06/2009 13:06:48: Checking network registration status again after 1000ms delay
12/06/2009 13:06:48: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:48: Send: AT+CREG?<cr>
12/06/2009 13:06:48: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:48: Modem is searching for a new operator to register to
12/06/2009 13:06:49: Checking network registration status again after 1000ms delay
12/06/2009 13:06:49: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:49: Send: AT+CREG?<cr>
12/06/2009 13:06:50: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:50: Modem is searching for a new operator to register to
12/06/2009 13:06:51: Checking network registration status again after 1000ms delay
12/06/2009 13:06:51: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:51: Send: AT+CREG?<cr>
12/06/2009 13:06:51: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:51: Modem is searching for a new operator to register to
12/06/2009 13:06:52: Checking network registration status again after 1000ms delay
12/06/2009 13:06:52: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:52: Send: AT+CREG?<cr>
12/06/2009 13:06:53: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:53: Modem is searching for a new operator to register to
12/06/2009 13:06:54: Checking network registration status again after 1000ms delay
12/06/2009 13:06:54: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:54: Send: AT+CREG?<cr>
12/06/2009 13:06:54: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:54: Modem is searching for a new operator to register to
12/06/2009 13:06:55: Checking network registration status again after 1000ms delay
12/06/2009 13:06:55: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:55: Send: AT+CREG?<cr>
12/06/2009 13:06:56: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:56: Modem is searching for a new operator to register to
12/06/2009 13:06:57: Checking network registration status again after 1000ms delay
12/06/2009 13:06:57: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:57: Send: AT+CREG?<cr>
12/06/2009 13:06:57: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:57: Modem is searching for a new operator to register to
12/06/2009 13:06:58: Checking network registration status again after 1000ms delay
12/06/2009 13:06:58: Send AT command [AT+CREG?<cr>]
12/06/2009 13:06:58: Send: AT+CREG?<cr>
12/06/2009 13:06:59: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:06:59: Modem is searching for a new operator to register to
12/06/2009 13:07:00: Checking network registration status again after 1000ms delay
12/06/2009 13:07:00: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:00: Send: AT+CREG?<cr>
12/06/2009 13:07:00: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:00: Modem is searching for a new operator to register to
12/06/2009 13:07:01: Checking network registration status again after 1000ms delay
12/06/2009 13:07:01: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:01: Send: AT+CREG?<cr>
12/06/2009 13:07:02: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:02: Modem is searching for a new operator to register to
12/06/2009 13:07:03: Checking network registration status again after 1000ms delay
12/06/2009 13:07:03: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:03: Send: AT+CREG?<cr>
12/06/2009 13:07:03: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:03: Modem is searching for a new operator to register to
12/06/2009 13:07:04: Checking network registration status again after 1000ms delay
12/06/2009 13:07:04: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:04: Send: AT+CREG?<cr>
12/06/2009 13:07:05: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:05: Modem is searching for a new operator to register to
12/06/2009 13:07:06: Checking network registration status again after 1000ms delay
12/06/2009 13:07:06: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:06: Send: AT+CREG?<cr>
12/06/2009 13:07:06: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:06: Modem is searching for a new operator to register to
12/06/2009 13:07:07: Checking network registration status again after 1000ms delay
12/06/2009 13:07:07: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:07: Send: AT+CREG?<cr>
12/06/2009 13:07:08: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:08: Modem is searching for a new operator to register to
12/06/2009 13:07:09: Checking network registration status again after 1000ms delay
12/06/2009 13:07:09: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:09: Send: AT+CREG?<cr>
12/06/2009 13:07:10: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:10: Modem is searching for a new operator to register to
12/06/2009 13:07:11: Checking network registration status again after 1000ms delay
12/06/2009 13:07:11: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:11: Send: AT+CREG?<cr>
12/06/2009 13:07:11: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:11: Modem is searching for a new operator to register to
12/06/2009 13:07:12: Checking network registration status again after 1000ms delay
12/06/2009 13:07:12: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:12: Send: AT+CREG?<cr>
12/06/2009 13:07:13: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:13: Modem is searching for a new operator to register to
12/06/2009 13:07:14: Checking network registration status again after 1000ms delay
12/06/2009 13:07:14: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:14: Send: AT+CREG?<cr>
12/06/2009 13:07:14: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:14: Modem is searching for a new operator to register to
12/06/2009 13:07:15: Checking network registration status again after 1000ms delay
12/06/2009 13:07:15: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:15: Send: AT+CREG?<cr>
12/06/2009 13:07:16: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:16: Modem is searching for a new operator to register to
12/06/2009 13:07:17: Checking network registration status again after 1000ms delay
12/06/2009 13:07:17: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:17: Send: AT+CREG?<cr>
12/06/2009 13:07:17: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:17: Modem is searching for a new operator to register to
12/06/2009 13:07:18: Checking network registration status again after 1000ms delay
12/06/2009 13:07:18: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:18: Send: AT+CREG?<cr>
12/06/2009 13:07:19: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:19: Modem is searching for a new operator to register to
12/06/2009 13:07:20: Checking network registration status again after 1000ms delay
12/06/2009 13:07:20: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:20: Send: AT+CREG?<cr>
12/06/2009 13:07:20: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:20: Modem is searching for a new operator to register to
12/06/2009 13:07:21: Checking network registration status again after 1000ms delay
12/06/2009 13:07:21: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:21: Send: AT+CREG?<cr>
12/06/2009 13:07:22: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:22: Modem is searching for a new operator to register to
12/06/2009 13:07:23: Checking network registration status again after 1000ms delay
12/06/2009 13:07:23: Set ME to minimum functionality mode
12/06/2009 13:07:23: Send AT command [AT+CFUN=0<cr>]
12/06/2009 13:07:23: Send: AT+CFUN=0<cr>
12/06/2009 13:07:24: Recv: OK
12/06/2009 13:07:26: Set ME to full functionality mode
12/06/2009 13:07:26: Send AT command [AT+CFUN=1<cr>]
12/06/2009 13:07:26: Send: AT+CFUN=1<cr>
12/06/2009 13:07:27: Recv: àà à à ààà ààà à
12/06/2009 13:07:29: Enable automatic network selection
12/06/2009 13:07:29: Send AT command [AT+COPS=0<cr>]
12/06/2009 13:07:29: Send: AT+COPS=0<cr>
12/06/2009 13:07:30: Recv: ERROR
12/06/2009 13:07:30: ERROR [1037] Error response to automatic network selection command
12/06/2009 13:07:30: ERROR [1017] At least one default modem initialization command failed
12/06/2009 13:07:30: Checking network registration status
12/06/2009 13:07:30: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:30: Send: AT+CREG?<cr>
12/06/2009 13:07:30: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:30: Modem is searching for a new operator to register to
12/06/2009 13:07:31: Checking network registration status again after 1000ms delay
12/06/2009 13:07:31: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:31: Send: AT+CREG?<cr>
12/06/2009 13:07:32: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:32: Modem is searching for a new operator to register to
12/06/2009 13:07:33: Checking network registration status again after 1000ms delay
12/06/2009 13:07:33: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:33: Send: AT+CREG?<cr>
12/06/2009 13:07:33: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:33: Modem is searching for a new operator to register to
12/06/2009 13:07:34: Checking network registration status again after 1000ms delay
12/06/2009 13:07:34: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:34: Send: AT+CREG?<cr>
12/06/2009 13:07:35: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:35: Modem is searching for a new operator to register to
12/06/2009 13:07:36: Checking network registration status again after 1000ms delay
12/06/2009 13:07:36: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:36: Send: AT+CREG?<cr>
12/06/2009 13:07:36: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:36: Modem is searching for a new operator to register to
12/06/2009 13:07:37: Checking network registration status again after 1000ms delay
12/06/2009 13:07:37: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:37: Send: AT+CREG?<cr>
12/06/2009 13:07:38: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:38: Modem is searching for a new operator to register to
12/06/2009 13:07:39: Checking network registration status again after 1000ms delay
12/06/2009 13:07:39: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:39: Send: AT+CREG?<cr>
12/06/2009 13:07:39: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:39: Modem is searching for a new operator to register to
12/06/2009 13:07:40: Checking network registration status again after 1000ms delay
12/06/2009 13:07:40: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:40: Send: AT+CREG?<cr>
12/06/2009 13:07:41: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:41: Modem is searching for a new operator to register to
12/06/2009 13:07:42: Checking network registration status again after 1000ms delay
12/06/2009 13:07:42: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:42: Send: AT+CREG?<cr>
12/06/2009 13:07:43: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:43: Modem is searching for a new operator to register to
12/06/2009 13:07:44: Checking network registration status again after 1000ms delay
12/06/2009 13:07:44: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:44: Send: AT+CREG?<cr>
12/06/2009 13:07:44: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:44: Modem is searching for a new operator to register to
12/06/2009 13:07:45: Checking network registration status again after 1000ms delay
12/06/2009 13:07:45: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:45: Send: AT+CREG?<cr>
12/06/2009 13:07:46: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:46: Modem is searching for a new operator to register to
12/06/2009 13:07:47: Checking network registration status again after 1000ms delay
12/06/2009 13:07:47: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:47: Send: AT+CREG?<cr>
12/06/2009 13:07:47: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:47: Modem is searching for a new operator to register to
12/06/2009 13:07:48: Checking network registration status again after 1000ms delay
12/06/2009 13:07:48: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:48: Send: AT+CREG?<cr>
12/06/2009 13:07:49: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:49: Modem is searching for a new operator to register to
12/06/2009 13:07:50: Checking network registration status again after 1000ms delay
12/06/2009 13:07:50: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:50: Send: AT+CREG?<cr>
12/06/2009 13:07:50: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:50: Modem is searching for a new operator to register to
12/06/2009 13:07:51: Checking network registration status again after 1000ms delay
12/06/2009 13:07:51: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:51: Send: AT+CREG?<cr>
12/06/2009 13:07:52: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:52: Modem is searching for a new operator to register to
12/06/2009 13:07:53: Checking network registration status again after 1000ms delay
12/06/2009 13:07:53: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:53: Send: AT+CREG?<cr>
12/06/2009 13:07:53: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:53: Modem is searching for a new operator to register to
12/06/2009 13:07:54: Checking network registration status again after 1000ms delay
12/06/2009 13:07:54: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:54: Send: AT+CREG?<cr>
12/06/2009 13:07:55: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:55: Modem is searching for a new operator to register to
12/06/2009 13:07:56: Checking network registration status again after 1000ms delay
12/06/2009 13:07:56: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:56: Send: AT+CREG?<cr>
12/06/2009 13:07:56: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:56: Modem is searching for a new operator to register to
12/06/2009 13:07:57: Checking network registration status again after 1000ms delay
12/06/2009 13:07:57: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:57: Send: AT+CREG?<cr>
12/06/2009 13:07:58: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:58: Modem is searching for a new operator to register to
12/06/2009 13:07:59: Checking network registration status again after 1000ms delay
12/06/2009 13:07:59: Send AT command [AT+CREG?<cr>]
12/06/2009 13:07:59: Send: AT+CREG?<cr>
12/06/2009 13:07:59: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:07:59: Modem is searching for a new operator to register to
12/06/2009 13:08:00: Checking network registration status again after 1000ms delay
12/06/2009 13:08:00: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:00: Send: AT+CREG?<cr>
12/06/2009 13:08:01: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:01: Modem is searching for a new operator to register to
12/06/2009 13:08:02: Checking network registration status again after 1000ms delay
12/06/2009 13:08:02: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:02: Send: AT+CREG?<cr>
12/06/2009 13:08:02: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:02: Modem is searching for a new operator to register to
12/06/2009 13:08:03: Checking network registration status again after 1000ms delay
12/06/2009 13:08:03: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:03: Send: AT+CREG?<cr>
12/06/2009 13:08:04: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:04: Modem is searching for a new operator to register to
12/06/2009 13:08:05: Checking network registration status again after 1000ms delay
12/06/2009 13:08:05: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:05: Send: AT+CREG?<cr>
12/06/2009 13:08:05: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:05: Modem is searching for a new operator to register to
12/06/2009 13:08:06: Checking network registration status again after 1000ms delay
12/06/2009 13:08:06: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:06: Send: AT+CREG?<cr>
12/06/2009 13:08:07: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:07: Modem is searching for a new operator to register to
12/06/2009 13:08:08: Checking network registration status again after 1000ms delay
12/06/2009 13:08:08: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:08: Send: AT+CREG?<cr>
12/06/2009 13:08:08: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:08: Modem is searching for a new operator to register to
12/06/2009 13:08:09: Checking network registration status again after 1000ms delay
12/06/2009 13:08:09: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:09: Send: AT+CREG?<cr>
12/06/2009 13:08:10: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:10: Modem is searching for a new operator to register to
12/06/2009 13:08:11: Checking network registration status again after 1000ms delay
12/06/2009 13:08:11: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:11: Send: AT+CREG?<cr>
12/06/2009 13:08:11: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:11: Modem is searching for a new operator to register to
12/06/2009 13:08:12: Checking network registration status again after 1000ms delay
12/06/2009 13:08:12: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:12: Send: AT+CREG?<cr>
12/06/2009 13:08:13: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:13: Modem is searching for a new operator to register to
12/06/2009 13:08:14: Checking network registration status again after 1000ms delay
12/06/2009 13:08:14: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:14: Send: AT+CREG?<cr>
12/06/2009 13:08:14: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:14: Modem is searching for a new operator to register to
12/06/2009 13:08:15: Checking network registration status again after 1000ms delay
12/06/2009 13:08:15: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:15: Send: AT+CREG?<cr>
12/06/2009 13:08:16: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:16: Modem is searching for a new operator to register to
12/06/2009 13:08:17: Checking network registration status again after 1000ms delay
12/06/2009 13:08:17: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:17: Send: AT+CREG?<cr>
12/06/2009 13:08:17: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:17: Modem is searching for a new operator to register to
12/06/2009 13:08:18: Checking network registration status again after 1000ms delay
12/06/2009 13:08:18: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:18: Send: AT+CREG?<cr>
12/06/2009 13:08:19: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:19: Modem is searching for a new operator to register to
12/06/2009 13:08:20: Checking network registration status again after 1000ms delay
12/06/2009 13:08:20: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:20: Send: AT+CREG?<cr>
12/06/2009 13:08:21: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:21: Modem is searching for a new operator to register to
12/06/2009 13:08:22: Checking network registration status again after 1000ms delay
12/06/2009 13:08:22: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:22: Send: AT+CREG?<cr>
12/06/2009 13:08:22: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:22: Modem is searching for a new operator to register to
12/06/2009 13:08:23: Checking network registration status again after 1000ms delay
12/06/2009 13:08:23: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:23: Send: AT+CREG?<cr>
12/06/2009 13:08:24: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:24: Modem is searching for a new operator to register to
12/06/2009 13:08:25: Checking network registration status again after 1000ms delay
12/06/2009 13:08:25: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:25: Send: AT+CREG?<cr>
12/06/2009 13:08:25: Recv: +CREG: 0,2<cr><lf><cr><lf>OK
12/06/2009 13:08:25: Modem is searching for a new operator to register to
12/06/2009 13:08:26: Checking network registration status again after 1000ms delay
12/06/2009 13:08:26: Send AT command [AT+CREG?<cr>]
12/06/2009 13:08:26: Send: AT+CREG?<cr>
12/06/2009 13:08:27: Recv: +CREG: 0,1<cr><lf><cr><lf>OK
12/06/2009 13:08:27: Setting PDU mode in GSM modem
12/06/2009 13:08:27: Send AT command [AT+CMGF=0<cr>]
12/06/2009 13:08:27: Send: AT+CMGF=0<cr>
12/06/2009 13:08:27: Recv: OK
12/06/2009 13:08:27: Disable new message indication
12/06/2009 13:08:27: Send AT command [AT+CNMI=2,0,0,0,0<cr>]
12/06/2009 13:08:27: Send: AT+CNMI=2,0,0,0,0<cr>
12/06/2009 13:08:28: Recv: OK
12/06/2009 13:08:28: Port COM1 opened [baud=57600 parity=N data=8 stop=1]
12/06/2009 13:08:29: Modem Command: AT+CMGS=23<cr>
12/06/2009 13:08:34: Recv: AT+CMGS=23<cr><cr><lf>>
12/06/2009 13:08:34: Modem Response: AT+CMGS=23<cr><cr><lf>>
12/06/2009 13:08:34: ERROR [4020] Unknown error while sending message [Send Attempt: 2]
12/06/2009 13:08:35: Modem Command: AT+CMGS=23<cr>
12/06/2009 13:08:40: Recv: AT+CMGS=23<cr><cr><lf>>
12/06/2009 13:08:40: Modem Response: AT+CMGS=23<cr><cr><lf>>
12/06/2009 13:08:40: ERROR [4020] Unknown error while sending message

Le log montre les tentatives successives de dialogue avec l'opérateur GSM qui n'aboutissent pas.

Mode Terminal et dialogue direct par command AT (Hayes)

Le mode terminal permet d'envoyer des commandes AT Hayes natives directement au modem.

Faire préalablement un Connect avant de passer des commande AT.

Un simple ATZ doit retourner OK. Vous pouvez ensuite passer des commandes plus complexes.

mode AT commande

 

Lecture du contenu de la carte SIM


Pour lire les messages sms reçu en SIM et ayant un index particulier, saisir la commande:

AT+CMGR=x (x étant lindex du message)

AT+CMGR

 

Service center des opérateurs (SMSC)

Pour envoyer des SMS il faut que le numéro du Service Center ( Onglet Modem Settings) soit bien celui de votre opérateur.

Sinon vérifier pour la France que vous avez le bon numéro:

Consulter la liste des numéros SMSC

 

 


www.loriotpro.com