SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Fri Mar 14, 2025 10:46
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
bakai: gaio - Can you send me your perl scripts? My email: ireneusz (dot) baka (at) gmail (dot) com. Thank's in advance.
bakai: No, tjey said that is "bug" in minicom :D
bakai: Thanks for time you spent to solve my problem. Best regards.
bakai: Below answers form polish hardware reseller&support: No, baud rate is OK, but answer is unexpected by minicom - containing additional prefix before oryginal modem response, prefix as '-->gxx > ' where xx are module number. > > Have you tried using another module, g1? > > Do you know if there are any possibilities to upgrade the firmware for > those modules? No possiblities, for upgrade modules will be removed from device and insert to dedicated service box. > > Does the manufacturer or reseller provide any support for your device? Both > > Sorry, lot of questions, but there is not much to do when a prompt is > missing after CMGS... For send SMS via 2N gateway is necessary send different commands - special macro commands to gateway, not to module. As described below: ;catch SMS controlling to interface who sending command (serial port in this case) AT!G=A6 expected responses: OK or BUSY - if busy other interface have SMS steering. for release SMS on interface command is AT!G=55 is possible force release on all interfaces by command AT!G=99 for check received sms: AT^SX=# where # is module number from 0 to 31 (depending to gateway type) or in newest firmwares: AT^SX=#,mem where memory type 0- SIM card 1- TE 2 - both response: *smserr: #,code - any error *smsinc: #,idx[,mem] - sms found on module # at index idx into memory mem (0 or 1) for receive sms AT^SR=#,idx[,mem] response *smspdu: #,idx,PDU *smserr: #,code for delete AT^SD=#,idx[,mem] response *smsdel: #,idx *smserr:#,code for send AT^SM=#,Len,PDU,chk where Len are length in bytes of PDU minus 1 eg. '00000000' - are 4 bytes length and len is 3. chk - is normal checksum modulo 256 and must be put in hex, not decimal responses: *smsout: #,sms_no *smserr: #,code
bakai: SMS sending log: 2010-10-12 12:38:31,7, GSM0: ## End of device details 2010-10-12 12:38:31,5, GSM0: Waiting for messages to send... 2010-10-12 12:39:11,5, smsd: Moved file /var/spool/sms/outgoing/send_vW4026 to /var/spool/sms/checked 2010-10-12 12:39:11,6, GSM0: I have to send 1 short message for /var/spool/sms/checked/send_vW4026 2010-10-12 12:39:11,6, GSM0: Sending SMS from to 606388590 2010-10-12 12:39:11,6, GSM0: Checking if modem is ready 2010-10-12 12:39:11,7, GSM0: -> at&g0=AT 2010-10-12 12:39:11,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-12 12:39:11,7, GSM0: time 302 ms <- at&g0=AT <++g00 AT -->g00 OK OK 2010-10-12 12:39:11,7, GSM0: -> at&g0=AT+CSQ 2010-10-12 12:39:11,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-12 12:39:12,7, GSM0: time 302 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 18,99 -->g00 OK OK 2010-10-12 12:39:12,6, GSM0: Signal Strength Indicator: (18,99) -77 dBm (Good) 2010-10-12 12:39:12,6, GSM0: Checking if Modem is registered to the network 2010-10-12 12:39:12,7, GSM0: -> at&g0=AT+CREG? 2010-10-12 12:39:12,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-12 12:39:12,7, GSM0: time 403 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-12 12:39:12,6, GSM0: Modem is registered to the network 2010-10-12 12:39:12,6, GSM0: Selecting PDU mode 2010-10-12 12:39:12,7, GSM0: -> at&g0=AT+CMGF=0 2010-10-12 12:39:12,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-12 12:39:13,7, GSM0: time 304 ms <- at&g0=AT+CMGF=0 <++g00 AT+CMGF=0 -->g00 OK OK 2010-10-12 12:39:13,7, GSM0: -> at&g0=AT+CMGS=19 2010-10-12 12:39:13,7, GSM0: Command is sent, waiting for the answer. (20) 2010-10-12 12:39:34,7, GSM0: Incorrect answer, put_command expected (>)|(ERROR), timeout occurred. 1. 2010-10-12 12:39:34,7, GSM0: time 20527 ms <- at&g0=AT+CMGS=19 <++g00 AT+CMGS=19 2010-10-12 12:39:34,7, GSM0: -> at&g0=001100099106368895F00000FF0673F29C3C2703. 2010-10-12 12:39:34,7, GSM0: Command is sent, waiting for the answer. (60) 2010-10-12 12:39:34,7, GSM0: time 505 ms <- -->g00 > -->g00 +CMS ERROR: 500 OK (Unknown error) 2010-10-12 12:39:34,5, GSM0: SMS sent, Message_id: , To: 606388590, sending time 23 sec. 2010-10-12 12:39:34,6, GSM0: Deleted file /var/spool/sms/checked/send_vW4026 Device log: 2010-10-12 12:41:44,7, GSM0: ## Start of device details 2010-10-12 12:41:44,7, GSM0: # Manufacturer identification: 2010-10-12 12:41:44,7, GSM0: -> at&g0=AT+CGMI 2010-10-12 12:41:44,7, GSM0: time 403 ms <- at&g0=AT+CGMI <++g00 AT+CGMI -->g00 SIEMENS -->g00 OK OK 2010-10-12 12:41:44,7, GSM0: # Model identification: 2010-10-12 12:41:44,7, GSM0: -> at&g0=AT+CGMM 2010-10-12 12:41:45,7, GSM0: time 301 ms <- at&g0=AT+CGMM <++g00 AT+CGMM -->g00 TC35I -->g00 OK OK 2010-10-12 12:41:45,7, GSM0: # Revision identification: 2010-10-12 12:41:45,7, GSM0: -> at&g0=AT+CGMR 2010-10-12 12:41:45,7, GSM0: time 403 ms <- at&g0=AT+CGMR <++g00 AT+CGMR -->g00 REVISION 03.01 -->g00 OK OK 2010-10-12 12:41:45,7, GSM0: # New message indications, list of supported modes: 2010-10-12 12:41:46,7, GSM0: -> at&g0=AT+CNMI=? 2010-10-12 12:41:46,7, GSM0: time 405 ms <- at&g0=AT+CNMI=? <++g00 AT+CNMI=? -->g00 +CNMI: (0-3),(0-3),(0,2,3),(0-2),(1) -->g00 OK OK 2010-10-12 12:41:46,7, GSM0: # New message indications, current settings: 2010-10-12 12:41:46,7, GSM0: -> at&g0=AT+CNMI? 2010-10-12 12:41:47,7, GSM0: time 401 ms <- at&g0=AT+CNMI? <++g00 AT+CNMI? -->g00 +CNMI: 3,1,0,2,1 -->g00 OK OK 2010-10-12 12:41:47,7, GSM0: # Preferred message storage, list of supported mem's: 2010-10-12 12:41:47,7, GSM0: -> at&g0=AT+CPMS=? 2010-10-12 12:41:47,7, GSM0: time 403 ms <- at&g0=AT+CPMS=? <++g00 AT+CPMS=? -->g00 +CPMS: ("MT","SM","ME"),("MT","SM","ME"),("MT","SM") -->g00 OK OK 2010-10-12 12:41:47,7, GSM0: # Phonebook storage, available mem's: 2010-10-12 12:41:47,7, GSM0: -> at&g0=AT+CPBS=? 2010-10-12 12:41:48,7, GSM0: time 403 ms <- at&g0=AT+CPBS=? <++g00 AT+CPBS=? -->g00 +CPBS: ("FD","SM","ON","ME","LD","MC","RC") -->g00 OK OK 2010-10-12 12:41:48,7, GSM0: # List messages, list of supported stat's: 2010-10-12 12:41:48,7, GSM0: -> at&g0=AT+CMGL=? 2010-10-12 12:41:48,7, GSM0: time 301 ms <- at&g0=AT+CMGL=? <++g00 AT+CMGL=? -->g00 +CMGL: (0-4) -->g00 OK OK 2010-10-12 12:41:48,7, GSM0: # Delete message, list of supported values: 2010-10-12 12:41:48,7, GSM0: -> at&g0=AT+CMGD=? 2010-10-12 12:41:49,7, GSM0: time 302 ms <- at&g0=AT+CMGD=? <++g00 AT+CMGD=? -->g00 OK OK 2010-10-12 12:41:49,7, GSM0: # Phone activity status, list of supported stat's: 2010-10-12 12:41:49,7, GSM0: -> at&g0=AT+CPAS=? 2010-10-12 12:41:49,7, GSM0: time 301 ms <- at&g0=AT+CPAS=? <++g00 AT+CPAS=? -->g00 +CPAS: (0,3,4) -->g00 OK OK 2010-10-12 12:41:49,7, GSM0: # TE character set, list of supported charset's: 2010-10-12 12:41:49,7, GSM0: -> at&g0=AT+CSCS=? 2010-10-12 12:41:50,7, GSM0: time 402 ms <- at&g0=AT+CSCS=? <++g00 AT+CSCS=? -->g00 +CSCS: ("GSM","UCS2") -->g00 OK OK 2010-10-12 12:41:50,7, GSM0: # TE character set, current setting: 2010-10-12 12:41:50,7, GSM0: -> at&g0=AT+CSCS? 2010-10-12 12:41:50,7, GSM0: time 303 ms <- at&g0=AT+CSCS? <++g00 AT+CSCS? -->g00 +CSCS: "GSM" -->g00 OK OK 2010-10-12 12:41:50,7, GSM0: ## End of device details
bakai: But, when I type longer number: at&g0=AT+CMGS=606388590 <++g00 AT+CMGS=606388590 -->g00 +CMS ERROR: 500
bakai: Only "OK". Nothing else.
bakai: at&g0=AT+CMGF=0 <++g00 AT+CMGF=0 -->g00 OK OK at&g0=AT+CMGS=16 <++g00 AT+CMGS=16 (long wait, about 20s) OK at&g0=001100099106368895F00000FF0372B91C (crt+z not works, so Enter was pressed). ERROR
bakai: I don't know how. Can you send me instructions?
bakai: As far as I can understood timeout is 20 sek. 2010-10-11 20:23:18,7, GSM0: ## End of device details 2010-10-11 20:23:18,5, GSM0: Waiting for messages to send... 2010-10-11 20:23:47,5, smsd: Moved file /var/spool/sms/outgoing/send_Lz5255 to /var/spool/sms/checked 2010-10-11 20:23:47,6, GSM0: I have to send 1 short message for /var/spool/sms/checked/send_Lz5255 2010-10-11 20:23:47,6, GSM0: Sending SMS from to 606388590 2010-10-11 20:23:47,6, GSM0: Checking if modem is ready 2010-10-11 20:23:47,7, GSM0: -> at&g0=AT 2010-10-11 20:23:47,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-11 20:23:48,7, GSM0: time 304 ms <- at&g0=AT <++g00 AT -->g00 OK OK 2010-10-11 20:23:48,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 20:23:48,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 20:23:48,7, GSM0: time 404 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 20,99 -->g00 OK OK 2010-10-11 20:23:48,6, GSM0: Signal Strength Indicator: (20,99) -73 dBm (Excellent) 2010-10-11 20:23:48,6, GSM0: Checking if Modem is registered to the network 2010-10-11 20:23:48,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 20:23:48,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 20:23:49,7, GSM0: time 406 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 20:23:49,6, GSM0: Modem is registered to the network 2010-10-11 20:23:49,6, GSM0: Selecting PDU mode 2010-10-11 20:23:49,7, GSM0: -> at&g0=AT+CMGF=0 2010-10-11 20:23:49,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-11 20:23:49,7, GSM0: time 302 ms <- at&g0=AT+CMGF=0 <++g00 AT+CMGF=0 -->g00 OK OK 2010-10-11 20:23:49,7, GSM0: -> at&g0=AT+CMGS=16 2010-10-11 20:23:49,7, GSM0: Command is sent, waiting for the answer. (20) 2010-10-11 20:24:10,7, GSM0: Incorrect answer, put_command expected (>)|(ERROR), timeout occurred. 1. 2010-10-11 20:24:10,7, GSM0: time 20535 ms <- at&g0=AT+CMGS=16 <++g00 AT+CMGS=16 2010-10-11 20:24:10,7, GSM0: -> at&g0=001100099106368895F00000FF0372B91C. 2010-10-11 20:24:10,7, GSM0: Command is sent, waiting for the answer. (60) 2010-10-11 20:24:11,7, GSM0: time 504 ms <- -->g00 > -->g00 +CMS ERROR: 500 OK (Unknown error) 2010-10-11 20:24:11,5, GSM0: SMS sent, Message_id: , To: 606388590, sending time 24 sec. 2010-10-11 20:24:11,6, GSM0: Deleted file /var/spool/sms/checked/send_Lz5255 But what means: Incorrect answer, put_command expected???
bakai: Still the same. Mayby modem is slow but when I send SMS from bash 1 second wait is OK and its works.
bakai: Thanks, registration is OK now, I think. But, 2010-10-11 19:43:30,5, GSM0: Waiting for messages to send... 2010-10-11 19:44:49,5, smsd: Moved file /var/spool/sms/outgoing/send_SV2496 to /var/spool/sms/checked 2010-10-11 19:44:50,6, GSM0: I have to send 1 short message for /var/spool/sms/checked/send_SV2496 2010-10-11 19:44:50,6, GSM0: Sending SMS from to 606388590 2010-10-11 19:44:50,6, GSM0: Checking if modem is ready 2010-10-11 19:44:50,7, GSM0: -> at&g0=AT 2010-10-11 19:44:50,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-11 19:44:50,7, GSM0: time 303 ms <- at&g0=AT <++g00 AT -->g00 OK OK 2010-10-11 19:44:50,6, GSM0: Checking if modem needs PIN 2010-10-11 19:44:51,7, GSM0: -> at&g0=AT+CPIN? 2010-10-11 19:44:51,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 19:44:51,7, GSM0: time 304 ms <- at&g0=AT+CPIN? <++g00 AT+CPIN? -->g00 +CPIN: READY -->g00 OK OK 2010-10-11 19:44:51,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 19:44:51,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 19:44:52,7, GSM0: time 405 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 19,99 -->g00 OK OK 2010-10-11 19:44:52,6, GSM0: Signal Strength Indicator: (19,99) -75 dBm (Good) 2010-10-11 19:44:52,6, GSM0: Checking if Modem is registered to the network 2010-10-11 19:44:52,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 19:44:52,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 19:44:52,7, GSM0: time 402 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 19:44:52,6, GSM0: Modem is registered to the network 2010-10-11 19:44:52,6, GSM0: Selecting PDU mode 2010-10-11 19:44:52,7, GSM0: -> at&g0=AT+CMGF=0 2010-10-11 19:44:52,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-11 19:44:53,7, GSM0: time 304 ms <- at&g0=AT+CMGF=0 <++g00 AT+CMGF=0 -->g00 OK OK 2010-10-11 19:44:53,7, GSM0: -> at&g0=AT+CMGS=19 2010-10-11 19:44:53,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 19:45:03,7, GSM0: Incorrect answer, put_command expected (>)|(ERROR), timeout occurred. 1. 2010-10-11 19:45:03,7, GSM0: time 10404 ms <- at&g0=AT+CMGS=19 <++g00 AT+CMGS=19 2010-10-11 19:45:03,7, GSM0: -> at&g0=001100099106368895F00000FF0672BA9C2EA703. 2010-10-11 19:45:03,7, GSM0: Command is sent, waiting for the answer. (60) 2010-10-11 19:45:04,7, GSM0: time 504 ms <- -->g00 > -->g00 +CMS ERROR: 500 OK (Unknown error) 2010-10-11 19:45:04,5, GSM0: SMS sent, Message_id: , To: 606388590, sending time 14 sec. 2010-10-11 19:45:04,6, GSM0: Deleted file /var/spool/sms/checked/send_SV2496
bakai: Thanks for fast response. Log below: 2010-10-11 15:43:02,2, smsd: Smsd v3.1.15-beta-bakai-1 started. 2010-10-11 15:43:02,2, smsd: Running as root:root. 2010-10-11 15:43:02,2, smsd: # You are running a beta version of SMS Server Tools 3. 2010-10-11 15:43:02,2, smsd: # All feedback is valuable. 2010-10-11 15:43:02,2, smsd: # Please provide you feedback on SMSTools3 Community. Thank you. 2010-10-11 15:43:02,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.WSjbGh /tmp/smsd_data.8IuFag 2010-10-11 15:43:02,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2010-10-11 15:43:02,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2010-10-11 15:43:02,5, GSM0: Modem handler 0 has started. PID: 20070. Will only send messages. 2010-10-11 15:43:02,5, smsd: Outgoing file checker has started. PID: 20069. 2010-10-11 15:43:02,7, smsd: All PID's: 20069,20070 2010-10-11 15:43:02,6, GSM0: Serial port /dev/ttyUSB0 opened as 6, rtscts: 1, baudrate: 115200 2010-10-11 15:43:02,6, GSM0: Checking if modem is ready 2010-10-11 15:43:02,2, GSM0: read_from_modem: count=0, got=81: 3C[<] 2B[+] 2B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 4 7[G] 3F[?] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 32[2] 2C[,] 31[1] 2C[,] 22["] 35[5] 33[3] 30[0] 32[2] 22["] 2C[,] 22["] 36[6] 34[4] 35[5] 44[D] 22["] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[ K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:02,7, GSM0: -> at&g0=AT 2010-10-11 15:43:02,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-11 15:43:02,2, GSM0: read_from_modem: count=0, got=48: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 0D[.] 0A[.] 20[ ] 3C[<] 2B[+] 2B[+] 67[g] 30[0] 30[0] 2 0[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:02,7, GSM0: time 302 ms <- at&g0=AT <++g00 AT -->g00 OK OK 2010-10-11 15:43:02,6, GSM0: Checking if modem needs PIN 2010-10-11 15:43:03,7, GSM0: -> at&g0=AT+CPIN? 2010-10-11 15:43:03,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:03,2, GSM0: read_from_modem: count=0, got=86: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 50[P] 49 4E[N] 3F[?] 0D[.] 0A[.] 20[ ] 3 C[<] 2B[+] 2B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 50[P] 49 4E[N] 3F[?] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 50[P] 49 4E[N] 3A[:] 20[ ] 52[R] 45[E] 41[A] 44[D] 59[Y] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:03,7, GSM0: time 304 ms <- at&g0=AT+CPIN? <++g00 AT+CPIN? -->g00 +CPIN: READY -->g00 OK OK 2010-10-11 15:43:03,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:43:03,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:03,2, GSM0: read_from_modem: count=0, got=81: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 3C[<] 2B[+] 2 B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 32[2] 30[0] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[ K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:03,7, GSM0: time 303 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 20,99 -->g00 OK OK 2010-10-11 15:43:03,6, GSM0: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2010-10-11 15:43:03,6, GSM0: Checking if Modem is registered to the network 2010-10-11 15:43:04,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 15:43:04,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:04,2, GSM0: read_from_modem: count=0, got=76: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 47[G] 3F[?] 0D[.] 0A[.] 20[ ] 3 C[<] 2B[+] 2B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 47[G] 3F[?] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 32[2] 2C[,] 31[1] 2C[,] 22["] 35[5] 33[3] 30[0] 32[2] 22["] 2C[,] 22["] 36[6] 34[4] 35[5] 44[ D] 22["] 0D[.] 0A[.] 2010-10-11 15:43:04,2, GSM0: read_from_modem: count=76, got=22: 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:04,7, GSM0: time 404 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 15:43:04,5, GSM0: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 1. TIME 2010-10-11 15:43:05,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:43:05,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:05,2, GSM0: read_from_modem: count=0, got=81: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 3C[<] 2B[+] 2 B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 32[2] 30[0] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[ K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:05,7, GSM0: time 303 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 20,99 -->g00 OK OK 2010-10-11 15:43:05,5, GSM0: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2010-10-11 15:43:06,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 15:43:06,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:06,2, GSM0: read_from_modem: count=0, got=39: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 47[G] 3F[?] 0D[.] 0A[.] 20[ ] 3 C[<] 2B[+] 2B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 47[G] 3F[?] 0D[.] 0A[.] 20[ ] 2010-10-11 15:43:06,2, GSM0: read_from_modem: count=39, got=59: 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 32[2] 2C[,] 31[1] 2C[,] 22["] 35[5] 33[3] 30[0] 32[2] 22["] 2C[,] 22["] 36[6] 34[4] 35[5] 44[D] 22["] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:06,7, GSM0: time 403 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 15:43:06,5, GSM0: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 2. TIME 2010-10-11 15:43:07,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:43:07,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:07,2, GSM0: read_from_modem: count=0, got=81: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 3C[<] 2B[+] 2 B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 32[2] 30[0] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[ K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:08,7, GSM0: time 304 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 20,99 -->g00 OK OK 2010-10-11 15:43:08,5, GSM0: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2010-10-11 15:43:08,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 15:43:08,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:08,2, GSM0: read_from_modem: count=0, got=38: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 47[G] 3F[?] 0D[.] 0A[.] 20[ ] 3 C[<] 2B[+] 2B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 52[R] 45[E] 47[G] 3F[?] 0D[.] 0A[.] 2010-10-11 15:43:08,2, GSM0: read_from_modem: count=38, got=60: 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 52[R] 45[E] 47[G] 3A[:] 20[ ] 32[2] 2C[,] 31[1] 2C[,] 22["] 35[5] 33[3] 30[0] 32[2] 22["] 2C[,] 22["] 36[6] 34[4] 35[5] 44[D] 22["] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0 ] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.] 2010-10-11 15:43:08,7, GSM0: time 406 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 15:43:08,5, GSM0: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 3. TIME 2010-10-11 15:43:09,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:43:09,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:43:09,2, GSM0: read_from_modem: count=0, got=61: 61[a] 74[t] 26[&] 67[g] 30[0] 3D[=] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 3C[<] 2B[+] 2 B[+] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 41[A] 54[T] 2B[+] 43[C] 53 51[Q] 0D[.] 0A[.] 20[ ] 2D[-] 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 2B[+] 43[C] 53 51[Q] 3A[:] 20[ ] 32[2] 30[0] 2C[,] 39[9] 39[9] 0D[.] 0A[.] 20[ ] 2D[-] 2010-10-11 15:43:10,2, GSM0: read_from_modem: count=61, got=20: 2D[-] 3E[>] 67[g] 30[0] 30[0] 20[ ] 20[ ] 20[ ] 20[ ] 20[ ] 4F[O] 4B[K] 0D[.] 0A[.] 0D[.] 0A[.] 4F[O] 4B[K] 0D[.] 0A[.]
bakai: log after start: 2010-10-11 15:32:36,2, smsd: Smsd v3.1.15-beta-bakai-1 started. 2010-10-11 15:32:36,2, smsd: Running as root:root. 2010-10-11 15:32:36,2, smsd: # You are running a beta version of SMS Server Tools 3. 2010-10-11 15:32:36,2, smsd: # All feedback is valuable. 2010-10-11 15:32:36,2, smsd: # Please provide you feedback on SMSTools3 Community. Thank you. 2010-10-11 15:32:36,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.oQ7W7x /tmp/smsd_data.OmS7JF 2010-10-11 15:32:36,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0) 2010-10-11 15:32:36,4, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2010-10-11 15:32:36,5, GSM0: Modem handler 0 has started. PID: 19342. Will only send messages. 2010-10-11 15:32:36,5, smsd: Outgoing file checker has started. PID: 19341. 2010-10-11 15:32:36,7, smsd: All PID's: 19341,19342 2010-10-11 15:32:36,6, GSM0: Serial port /dev/ttyUSB0 opened as 6, rtscts: 1, baudrate: 115200 2010-10-11 15:32:36,6, GSM0: Checking if modem is ready 2010-10-11 15:32:36,7, GSM0: -> at&g0=AT 2010-10-11 15:32:36,7, GSM0: Command is sent, waiting for the answer. (5) 2010-10-11 15:32:37,7, GSM0: time 303 ms <- at&g0=AT <++g00 AT -->g00 OK OK 2010-10-11 15:32:37,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:32:37,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:32:37,7, GSM0: time 303 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 20,99 -->g00 OK OK 2010-10-11 15:32:37,6, GSM0: Signal Strength Indicator: (20,99) -73 dBm (Excellent), Bit Error Rate: not known or not detectable 2010-10-11 15:32:37,6, GSM0: Checking if Modem is registered to the network 2010-10-11 15:32:38,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 15:32:38,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:32:38,7, GSM0: time 403 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 15:32:38,5, GSM0: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 1. TIME 2010-10-11 15:32:39,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:32:39,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:32:39,7, GSM0: time 302 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 19,99 -->g00 OK OK 2010-10-11 15:32:39,5, GSM0: Signal Strength Indicator: (19,99) -75 dBm (Good), Bit Error Rate: not known or not detectable 2010-10-11 15:32:40,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 15:32:40,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:32:40,7, GSM0: time 401 ms <- at&g0=AT+CREG? <++g00 AT+CREG? -->g00 +CREG: 2,1,"5302","645D" -->g00 OK OK 2010-10-11 15:32:40,5, GSM0: MODEM IS NOT REGISTERED, WAITING 1 SEC. BEFORE RETRYING 2. TIME 2010-10-11 15:32:41,7, GSM0: -> at&g0=AT+CSQ 2010-10-11 15:32:41,7, GSM0: Command is sent, waiting for the answer. (10) 2010-10-11 15:32:42,7, GSM0: time 302 ms <- at&g0=AT+CSQ <++g00 AT+CSQ -->g00 +CSQ: 19,99 -->g00 OK OK 2010-10-11 15:32:42,5, GSM0: Signal Strength Indicator: (19,99) -75 dBm (Good), Bit Error Rate: not known or not detectable 2010-10-11 15:32:42,7, GSM0: -> at&g0=AT+CREG? 2010-10-11 15:32:42,7, GSM0: Command is sent, waiting for the answer. (10)
bakai: My device is: 2N gateway Enterprise ISDN BRI GSM (2xBRI + 2xTC35). Here is manual http://www.2n.cz/download/9/0/bri-enterprise-user-guide.pdf (AT commands are at the end). My device is without ethernet interface. I'm very novice in sending SMS. I don't need to use both modules, I'll be happy, when I can use one module. Is it possible to change some commands in source to achive my needs? Whose?
bakai: Hello, I have GSM gateway with 2 SIM modules. Modem works but needs "prefix" before AT command. It looks like: at&g0=AT+CMGF=1, where "at&g0=" selects first SIM or at&g1=AT+CMGF=1, where "at&g1=" selects second SIM. I can send this way SMS either from minicom or bash command line. What shouls I do to use my device with smstools? Best regards, bakai

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.