The documentation for the parameter SERIAL_POLLING_INTERVAL specifies *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 *
When using IP modems they are always read in polling mode. The value of Serial_polling_interval is always used. I propose to modify the documentation as follows *SERIAL_POLLING_INTERVAL: This is the polling interval. For serial modems it has a meaning only when the SERIAL_POLLING is true, i.e. SMSLib works in polling mode. IP modems are always used in polling mode. The value is in milliseconds. The default value is a good starting point - you may experiment with different values* SERIAL_POLLING: * This parameter is used for serial modems. 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.* Regards Wim Stevens -- 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/msg/smslib/-/FsyDeTr-SVEJ. 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.
