Keywords: Mode: All keywords (AND) |
Fri May 31, 2013 12:17
|
RalfSteffler: Hello Keke,
got it working.
'lsusb' shows wrong device file.
Syslog shows right device file (/dev/ttyACM0)
PS:
Great Software !
Thanks
Best Wishes
Ralf Steffler
|
Fri May 31, 2013 12:14
|
RalfSteffler: Hi Astrakid,
got it working !
Thanks a lot for your help !
PS:
Phone number must start with "49.."
Best Wishes
Ralf Steffler
|
Fri May 31, 2013 10:14
|
RalfSteffler: Hi Astrakid,
just got minicom installed.
I used the wrong device file.
The right device file is:/dev/ttyAC??
Smsd works, too.
No errors in smsd.log !!!!!!!!!!!!!!!!!!!
However, sendsms won't work.
(Minicom does).
??????????????????????
Best Wishes
Ralf Steffler
|
Fri May 31, 2013 09:30
|
RalfSteffler: Hi Astrakid,
I changed incoming to "no"
However, the smsd.log stiill says:
"unexpected input"
"write_to_modem: error 22".
The usb device file might be the problem.
I just installed minicom to test that.
Best Wishes
Ralf Steffler
|
Fri May 31, 2013 07:14
|
RalfSteffler: Hi Astrakid,
CPMS is used for sending, too.
Quote:
"AT+CPMS="ME","SM","MT"
The message_storage1 Parameter
The first parameter of the +CPMS AT command, message_storage1,
specifies the message storage area that will be used when reading or deleting SMS messages."
Anyway, I tried to cat some at commands to the GSM Phone
by "cat at_commands >/dev/bus/usb/002/014".
However, this did not work.
I will try to get minicom installed,
to test the usb interface.
Actually, I only need
two at commands to send the sms.
I am just about to write a little perl script,
which will do the job.
The perl script will
grap the right usb channel. too.
Best Wishes
Ralf Steffler
|
Thu May 30, 2013 16:35
|
RalfSteffler: To send a SMS,
U only need two commands.
#set textmode
at+cmgf=1
OK
#send sms
at+cmgs="[phone number]"
>Hello World [Ctrl+Z]
OK
PS:
Do not use PDU mode,
which is default !
Best Wishes
Ralf Steffler
|
Wed May 29, 2013 21:35
|
RalfSteffler: Hi Astrakid,
it seems to me,
that smstools require cpms support.
However,
at+cpms=?
returns (),(),()
Best Wishes
Ralf Steffler
|
Wed May 29, 2013 14:36
|
RalfSteffler: Operating system name and version: Ubuntu 12.04
Version of smsd: 3.1.15
Smsd installed from: from here
Name and model of a modem / phone:Nokia E51
Interface: USB
Hello Keke,
I tried the Nokia E51. I can send sms using Hyperterminal,
but smstools say:"Unexpected input" (error 22).
In the logfile, I found that smstools uses CPMS
and think, that this might cause the problem.
at+cpms=?
returns (),(),()
What can I do ?
Will the Nokia E51 work at all ?
Best Wishes
Ralf Steffler.
|
Wed May 29, 2013 13:29
|
RalfSteffler: Hi Astrakid,
you are not using an usb modem.
To send a SMS,
i only need to commands.
#set textmode
at+cmgf=1
#send sms
atcmgs="49171..."
>Hello World [Ctrl+Z]
However,
I cannot get smstools working.
It says:
checking if modem is ready
unexpected input
write_to_modem: error 22 invalid argument.
Best Wishes
Ralf Steffler
|
Wed May 29, 2013 12:12
|
RalfSteffler: Hi Astrakid,
you are using PDU mode.
I will try text mode
to send a test sms.
How does your smsd.conf look like ?
Best Wishes
Ralf Steffler
|
Wed May 29, 2013 10:39
|
RalfSteffler: Hi Astrakid,
actually, it says: 'data transfer mode'.
SIM card not accessible.
I am using hypertermional
for testing the at commands.
Do you happen to know,
what at command sends out a sms and how this is done ?
Best Wishes
Ralf Steffler
|
Wed May 29, 2013 10:10
|
RalfSteffler: Hi Astrakid,
just executed lsusb.
It shows all usb devices.
(Mouse, USB Stick, Nokia Phone etc).
Thus, I am quite sure,
I am using the right character device.
The Nokia Phone asks,
whether to use PC Suite
or filetransfer mode, when connected ?
Which mode is correct ?
PS:
Anyway, thanks for the information
about minicom.
Would be nice,
if sms had some testmode.
Best Wishes
Ralf Steffler
|
Wed May 29, 2013 09:12
|
RalfSteffler: I installed Nokia E51.
After connecting ist to an usb port,
a new character device named /dev/bus/usb/002/003 is created, automatically.
However, when starting smsd, the log says:
"checking if modem is ready"
"unexpected error"
"write_to_modem:error 22 invalid argument."
At by init parameter does not work, either.
Questions:
Am I using the right device file ?
How can I test, whether the modem responds ?
How can I find out, which device file the modem uses ?
Best Wishes
Ralf Steffler
|
Fri May 24, 2013 09:31
|
RalfSteffler: Operating system name and version: Ubuntu 12.04
Version of smsd: 3.x (Latest)
Smsd installed from: from here
Name and model of a modem / phone:to be recommended
Interface: USB
We want to install SMS Server Tools 3.
What GSM Phone should we buy
for Germany.
Please make a recomendation !
Will Ubuntu 12.04 work.
Do you recommend another Linux OS (i.g. SuSe) ?
Best Wishes
Ralf Steffler
|