Hi.

Some tips for using SMSLib with linux:

- Install wvdial. This will create also the groups lock (or uucp) and
dialout. Make your user to be member of those groups to have access to the
serial and parallel ports

If you use rxtx:

- add -Dsmslib.serial.polling to your option list
- add -Dsmslib.serial.noflush to your option list
- add -Dgnu.io.rxtx.SerialPorts to your option list and specify there the
devices for your modems (/dev/ttyAMC0 for example)

Best regards.

Marcos.


On Wed, Nov 30, 2011 at 4:39 PM, Marcos Truchado
<[email protected]>wrote:

> Hi
>
> I will answer you later, now i don't have time
>
> Marcos
>
> Am 30.11.2011 16:36 schrieb "Shahbaz Ashraf" <[email protected]>:
>
>
> Hi to all
>
>          Iam stuck while using smslib in redhat linux environment, i
> have used it in windows platform and it was working fine. I have GPRS
> modem connected to linux machine, i used the wvconfigdial to check the
> serial port of modem. i used that com port and trying to connect to
> that port using SerialPortGateway class but iam getting the exception
> of org.smslib.Timeoutexception No response from device ... i have used
> the -Dsmslib.serial.polling=true parameter but no progress ... iam any
> one further interested i will send him the snapshot of process. Any
> one suggestion would be appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib Discussion Group" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/smslib?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to