Hi You can pass this parameter via a properties file. Read this parameter before initializing the modem. simply set these following lines in the properties file.
smslib.serial.noflush=true smslib.serial.polling=true smslib.serial.pollinginterval=200 You can change the pollinginterval, if you wish to do so. On Thu, May 30, 2013 at 2:29 PM, Julian via SMSLib Discussion Group < smslib+noreply-apn2wqdm2dyjunr2ximm-4j9h1beksuik1ua4lzc2l7qj3...@googlegroups.com > wrote: > hi, > > i am having an issue trying to run an smslib java application from eclipse > to a usb->serial-> serial modem to send an sms, it is timing out, (using > hyperterm i can run AT commands so the modem is working) the current setup > is using RxTX and from what i understand in the following link > http://smslib.org/doc/smslib/troubleshooting/ is that i need to add the > Dsmslib.serial.polling. > > Any idea how to do this through an IDE in the code? > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Discussion Group" group. > To view this discussion on the web visit > https://groups.google.com/d/msgid/smslib/efc60343-e7d8-457e-930d-8c11d0cc8f3a%40googlegroups.com?hl=en > . > > > -- Thanks and Regards, Balvant Desai. -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msgid/smslib/CAFXjB_dYF7hDm5stj7X-1eL1AkoZuOXPjxGk-8cvH7Qg8bNH6A%40mail.gmail.com?hl=en.
