I'm working on a project "SMS Server", and I'm using the library SMSLib. I found some troubles with the function startService(). I used the smssvr core functions for my project, but when I'm going to add the modem specified (with correct parameters). the service could not start and I cannot read any messages. this is a part of the error displayed :
Starting Service
0 [main] WARN org.smslib - Callback indications were *not* set succesfully!
org.smslib.ProtocolNotSupportedException
at org.smslib.gateway.ModemDriver.connect(ModemDriver.java:130)
at org.smslib.gateway.ModemGateway.startGateway(ModemGateway.java:93)
at org.smslib.Service.startService(Service.java:119)
at modem.ReadMessages.doIt(ReadMessages.java:79)
at modem.ReadMessages.main(ReadMessages.java:167)
WriteFile returns error 6
this error is displayed from the example "ReadMessages".
and this is haw I defined my gateway (nokia 6020 on port COM4) :