Category Archives: SMS Modem

MOBITEK Q24, MOBITEK S80

How to Solve “Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154”

Problem: When calling the method Modem.Init(), this error appears – “Retrieving the
COM class factory for component with CLSID {C7B56BA9-90BC-4B2B-BA02-
DF1FCBE506A7} failed due to the following error: 80040154.

Solution:

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

 

Do We Require MOBITEK SMS Engine ( Enterprise Edition)?

We would like to know, based on our deployment diagram (refer below), do we require MOBITEK®  SMS Engine (Enterprise Edition)?

Yes, it is highly recommended to use MOBITEK®  SMS Engine (Enterprise Edition) as you need to allow your remote site to access the SMS Gateway.
InboxFor remote site to access the SMS Gateway, it is best to use SQL database instead of Access database.