Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Invio/Ricezione SmS con Modem Gsm su Seriale
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ianstilo
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 196
Location: Merlino

PostPosted: Fri Apr 08, 2005 12:46 pm    Post subject: Invio/Ricezione SmS con Modem Gsm su Seriale Reply with quote

HO provato minicom per testare il modem e lanciare alcuni comandi at...funziona...poi ho provato a fare un:

cat cmd.txt > /dev/ttyS0

dove cmd.txt era atd33373*****\n\r

e funzionava la chiamata dati..

non sono riuscito invece con l'invio dell'sms il quale avviene così:

at+cmgs="33373*****"\n\r

(il modem risponde aspettando l'inserimento del messaggio e come ultimo carattere il ctrl-z)

>Ciao Ciao!<ctrl-z>

ho anche cercato di lanciarli con un programma c...ma nulla...


HELLLLLLLLLLLLLPPPPPPPPPP!!!!:(
Back to top
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Fri Apr 08, 2005 12:56 pm    Post subject: Reply with quote

Provato a usare qualche tool per l' invio di sms come smssend ?
Back to top
View user's profile Send private message
ianstilo
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 196
Location: Merlino

PostPosted: Fri Apr 08, 2005 12:57 pm    Post subject: Reply with quote

no..
Back to top
View user's profile Send private message
ilithiiri
n00b
n00b


Joined: 05 May 2004
Posts: 29
Location: Largs/Greenock - Scotland

PostPosted: Fri Apr 08, 2005 1:50 pm    Post subject: Re: Invio/Ricezione SmS con Modem Gsm su Seriale Reply with quote

ianstilo wrote:
at+cmgs="33373*****"\n\r
(il modem risponde aspettando l'inserimento del messaggio e come ultimo carattere il ctrl-z)
>Ciao Ciao!<ctrl-z>


Problema di fondo: il "messaggio" che devi inserire non è testo (se non ricordo male) ma una codifica BCD (o giù di lì) del messaggio.

Per passare il cellulare a poter scrivere messaggi di TESTO (inserire testo anziche numeri al prompt) c'è un altro comando AT da dare prima.
Non tutti i cellulari lo supportano.

Purtroppo non invio SMS da dispositivi embedded da quando ho cambiato lavoro 2 anni fa.

Ad ogni modo, ti consiglio di cercare documentazione su google sul come fare.

Al massimo, vedi di contattarmi privatamente e vedrò se in qualche modo riesco a ritrovare il tutto (tra qualche backup)

-marco-
_________________
For the loser now will be later to win,
For the times they are a-changin'
Back to top
View user's profile Send private message
lan
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 215
Location: Verona, Italy (Romeo & juliet`s City)

PostPosted: Fri Apr 08, 2005 3:01 pm    Post subject: Reply with quote

sms send è una specie di wrapper per siti internet non mi pare si usi per la seriale..
_________________
--
http://www.giuseppe-marocchio.com
skype: l4nz0r /voice
USH team www.ush.it
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Fri Apr 08, 2005 5:23 pm    Post subject: Reply with quote

forse quello che avevano scritto (ormai anni fa) qui puo' esserti utile...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sat Apr 09, 2005 6:59 am    Post subject: Reply with quote

tempo fa dovevo fare uno script per controllare un telescopio via seriale e ho utlizzato python+dev-python/pyserial

e' molto semplice e comodo da usare...
facci un pensierino
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30967
Location: here

PostPosted: Sat Apr 09, 2005 7:25 am    Post subject: Reply with quote

Di che modulo si tratta?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sat Apr 09, 2005 7:28 am    Post subject: Reply with quote

pyserial...
se ho capito la domanda..

http://pyserial.sourceforge.net/


ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum