Category Archives: Support

MOBITEK Q24 SMS MODEM Works with SMSLib in Linux

Product: MOBITEK® Q24 SMS Modem
Model: S-657f
Type: E
IMEI: 356205030009943
Expiry Date of Warranty and Support  12 Months After 26 June 2014
The modem is connected with?
  • PC
What is the Operating System (ignore if not relevant)?
  • Linux Red Hat & Ubuntu
What software are you using to communicate with the modem?
  • SMSLib Version: 3.5.0
SIM Card Used:
  • Maxis / Digi
Description of Problem:  Trouble getting it to work with Linux machines (“No such port”).But the very same java program works fine on Windows PC.813    2014-07-07 16:19:35,433 [Thread-4] INFO  com.cardzone.oneswitch.sms.smslib.modem.SerialModemDriver  – GTW: modem1: Closing: /dev/ttyS0 @115200
2040   2014-07-07 16:19:36,660 [main] INFO  com.cardzone.oneswitch.sms.smslib.modem.ModemGateway  – GTW: modem1: Stopping gateway…
2040   2014-07-07 16:19:36,660 [main] INFO  com.cardzone.oneswitch.sms.smslib.modem.SerialModemDriver  – GTW: modem1: Closing: /dev/ttyS0 @115200
2040   2014-07-07 16:19:36,660 [main] INFO  com.cardzone.oneswitch.sms.smslib.modem.ModemGateway  – GTW: modem1: Gateway stopped.
2241   2014-07-07 16:19:36,861 [main] ERROR com.cardzone.oneswitch.sms.smslib.smsserver.SMSServer  – SMSServer error!
com.cardzone.oneswitch.sms.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: gnu.io.NoSuchPortException
Root Cause: Permission/privilege to use serial port is NOT assigned to current user.
Solution: grant permission — add  “tty”, “dialout” into “Groups” of the current user

Linux-Mint

Linux-Mint

 

What If The Warranty Period of MOBITEK Q24 MODEM Has Expired?

If the problem is caused by hardware failure, you have these options:-

  1. sign up for annual support programme to extend the warranty period; or
  2. purchase a new one to replace the current faulty one.

If the problem is caused by software, you have these options:-

  1. sign up for annual support programme to receive continue support via e-mail; or
  2. self-help from our web site — http://www.mobitek.com.my/mobitek/Help.html and from this blog.

Please take note that our support is tied to a specific modem’s warranty period.

Test Result of Whether Our MOBITEK Q24 GSM MODEM is Compatible with SMSLib

MOBITEK Q24 USB
MOBITEK Q24 GSM Modem is compatible with SMSLib

 

Tested enviroment:
– Window XP 32bit
– Java Eclispe Version: 3.4.0

 

Tested:
– Finding com port using “commTest.java” -> ( successful )
– Receiving SMS using “ReadMessages.java” -> ( successful )
– Sending SMS using “SendMessage.java” ->( successful )

 

Below are log files for the java files.