Hi! I'd like to implement SMSlib, but I've notised, that at least atwin machines the comXX port number is changed with time, if device was removed and plugged back. So, in our program we should interrogate ports to find the right gateway properties. In my understanding, we should try to write something like "AT+GMM" to port; if there is a valid modem there some valid answer will be returned. It can be done by means of rxtx, isn't it? If I'm wrong I'll be gratefull to any who will give me right direction :)
Another approach is to try to initialize ~ 50 gateways, with increazing com port number from COM1 to COM50 and trying to get some data from it and handling errors. For me it is too straightforward approach. But what if some functionality already exists in SMSlib? -- 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]. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/V76B6CQMdaUJ. For more options, visit https://groups.google.com/groups/opt_out.
