pesaply / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

ReadMessages.java example error #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IP Example should be something like:

// ModemGateway gateway = new
ModemGateway(ModemGateway.ModemType.IP,"modem.ip","xx.xx.xx.xx", 5000,
"MultiTech", "MTCBA-G-EN-F2", srv.getLogger());

The example you have in the file is the .net version of the lib.

Original issue reported on code.google.com by nxn...@gmail.com on 19 Nov 2007 at 3:58

GoogleCodeExporter commented 9 years ago
Hi,

Can you please tell me which version are you using?
I cannot find the code you are referring to...

Thanks.

Original comment by T.Delenikas on 20 Nov 2007 at 8:42

GoogleCodeExporter commented 9 years ago
No feedback given - closing issue.

Original comment by T.Delenikas on 28 Nov 2007 at 11:14

GoogleCodeExporter commented 9 years ago
I am using 3.0.4
src\java\examples\modem\ReadMessages.java

// Example: ModemGateway gateway = new ModemGateway("modem.ip",
// "192.168.10.20", 5000, "MultiTech", "", srv);
ModemGateway gateway = new SerialModemGateway("modem.com1", "COM1", 57600, 
"Nokia",
"6310i", srv.getLogger());

Original comment by nxn...@gmail.com on 28 Nov 2007 at 1:37

GoogleCodeExporter commented 9 years ago
Ah, ok. Its already fixed in the latest release.
Thanks.

Original comment by T.Delenikas on 28 Nov 2007 at 1:43