Installation guide

Sms4Domino Help
- 58 -
SmsLib Settings
SmsLib SettingsSmsLib Settings
SmsLib Settings
Sms4Domino runs on top of the open source SmsLib library (available at smslib.org). Parameters of
SmsLib are documented on the web site smslib.org. For convenience reasons the documentation
has been copied into this help document.
SmsLib parameters are normally defined via java properties files . In a Domino environment
administrators prefer to define parameters in Notes fields on Notes documents. Sms4Domino reads
the settings from the instance configuration document and translates them internally into SmsLib
properties.
Parameter
ParameterParameter
Parameter Purpose
PurposePurpose
Purpose
SERIAL_NOFLUSH If true, SMSLib will not call the flush() system call upon writing to the serial
port. This should normally be left as false, meaning that we need the flush()
call. Set it to true for Linux/RxTx and virtual ports where the flush() call
leads to errors
Default: false
SERIAL_NOEVENTS
If true, SMSLib will not register the serial port callback events (i.e. framing
errors, etc). This is reported to help with some Sony Ericsson models.
Default: false
SERIAL_POLLING If false, SMSLib will rely on the serial port interrupts to wake up and get
incoming data. If true, if will create a separate thread in order to
periodically poll the serial port for incoming data . Set it to true only on
Linux/RxTx installations if you see that SMSLib behaves as if no modem is
connected.
Default: false
SERIAL_POLLING_INT
ERVAL
This is the polling interval. It has a meaning only when the
SERIAL_POLLING is true, i.e. SMSLib works in polling mode. The value is
in milliseconds. The default value is a good starting point - you may
experiment with different values
Default: 200ms
SERIAL_TIMEOUT This is the master timeout set on the serial ports. The value is in
milliseconds.
Default: 30 000ms
SERIAL_KEEPALIVE_IN
TERVAL
This is the keep-alive interval. The keep-alive functionality in SMSLib
periodically "pings" the modem in order to keep the connection active. The
value is in seconds.
Default: 60 s
SERIAL_BUFFER_SIZE This is the buffer size SMSLib uses for the internal queues. The value
represents characters (bytes).
Default: 16 384 bytes
SERIAL_CLEAR_WAIT This is a delay value, used when clearing the queues. The value is in
milliseconds.