gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help about sending with Gnokii::GSM please


From: Konstantinos Agouros
Subject: Re: Help about sending with Gnokii::GSM please
Date: 12 Oct 2002 17:23:25 GMT
User-agent: nn/6.6.4

In <address@hidden> address@hidden ("Angelo Gelmi [Web3king]") writes:

>Salve gnokii-users,

>      #!/usr/bin/perl
>      use Gnokii::GSM;

>      $gsm =3D Gnokii::GSM->new("/dev/ttyS0","5110");

>      $stato_fs=3D"Ciao";
>      $numero_mittente=3D"3290578222";
>                    $gsm->{'Msg'}->{'MessageText'}   =3D"$stato_fs";
>                    $gsm->{'Msg'}->{'MessageCenter'} =3D"393205858500";
>                    $gsm->{'Msg'}->{'Destination'}   =3D"$numero_mittente=
>";

>                    $gsm->SendSMSMessage{$Msg};



>    Returns me:

>Can't use subscript on subroutine entry at ./invia1.pl line 12, near "$Ms=
>g}"
>(Did you mean $ or @ instead of &?)
>Execution of ./invia1.pl aborted due to compilation errors.
>   =20
>All other functions works fine...
Where Do You set $Msg? It should read:
$Msg->{'MessageText'} = ..
$Msg->{'MessageCenter'} = ..
$Msg->{'Destination'} = ...

Hope that helps,

Konstantin

>Who can help me please?

>--=20
>=A4=A4=3D=3D=3D=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=
>=3D=A4=A7=A4=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=
>=3D=3D=3D=A4=A4
>Angelo Gelmi
>email: address@hidden
>URL: http://www.web3king.com/
>Linux's registered user nr. #203747=20
>=A4=A4=3D=3D=3D=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=
>=3D=A4=A7=A4=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=A4=3D=3D=3D=3D=
>=3D=3D=3D=A4=A4



>_______________________________________________
>gnokii-users mailing list
>address@hidden
>http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: address@hidden
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres




reply via email to

[Prev in Thread] Current Thread [Next in Thread]