Set-up Guide for MOBITEK S80 on LAN

Objective: to set-up MOBITEK® S80 to operate on local area network (LAN) via LAN port.

Applies to:-

  • MOBITEK® S80 SMS Modem Type S-L
  • MOBITEK® S80 3G Modem Type E-L

MOBITEK® S80 for SMS Over 3G Network

 

How to Configure LAN Port of MOBITEK® S80

There are 2 tasks:-

  1. How to Assign/Change IP Address of MOBITEK® S80
    1. IP address has to be assigned to the modem
  2. How to Add A COM Port for MOBITEK® S80
    1. on PC/server, a new COM port has to be added and mapped to the IP address of the modem

How to Assign/Change IP Address of MOBITEK® S80

  1. Connect the LAN  (ethernet) cable to the modem and the other end to your router or switch.
  2. Connect power adapter to the modem, turn on the power.
  3. Run the Windows application “USR-TCP232-T24-V5.1.1.20.exe“.
  4. Click “Search in LAN”.
    USR-TCP232-T24-01
  5. It will look for the IP address of MOBITEK® S80, if found it will display the address. In this example it is 192.168.10.210
  6. Click the “Device list in the net” , make the following changes in the “Parameters” section:-
    1. set to “TCP Server”;
    2. change the IP address in “Module IP” according to your LAN;
      USR-TCP232-T24-02
  7. Finally, click “Set selected item via Net” to save changes.
    USR-TCP232-T24-03

How to Add A COM Port for MOBITEK® S80

  1. In Windows PC/Server, install “USR-VCOM” then run it.
  2. Click “Smart Vcom”
    USR-VCOM_V3.7.1.520_Setup-01
  3. If MOBITEK® S80 is found, it will be displayed. Check it then click “Next” to create COM port.
    USR-VCOM_V3.7.1.520_Setup-02
  4. A new COM port number will be created under “COM Name”, in this example it is 1.
  5. Also the COM port number can also be seen either in “Device Manager -> Ports” or in  “Device Manager -> Virtual Serial Ports (Eltima Software)”. COM port number will be displayed.

    USR-VCOM_V3.7.1.520_Setup-04
  6. “Net State” will show “Connected”.
  7. Your application will communicate with MOBITEK® S80 via the above COM port number.
  8. When your application is connected to MOBITEK® S80  then “COM State” will show “Open”.
  9. When your application is communicating with MOBITEK® S80 to send and read SMS, the values in “COM Received” and “Net Received” will be increasing.

How to Set-Up 3G Router F342x

Steps to set-up F342x:

  1. Right click on “Ethernet”
  2. Click on “Properties”
  3. Check on “QoS Packet Scheduler” & “Internet Protocol Version 4(TCP/IPv4)
  4. Select “TCP/IPv4” and click on the “Properties”
  5. IP address and default gateway shouldn’t be the same.
  6.   Enter the IP address of the 3G Router on the web page, you will see this.
  7. Click on “Setup”, and enter this to enable access to the Configuration Page of F3424 —  user name “admin”, password  is “admin”.
  8. Click on “WAN”, to check 3G signal strength and connection status.

Configure APN to connect to the 3G network

  1. Look for “APN” to check the connected network
  2. Select a preferred network from the table below and key-in into the APN on the F3424 configuration page.
    MAXIS 2G
    (contract)
    MAXIS 3G
    (contract)
    MAXIS
    (pre-pay)
    DIGI CELCOM
    APN Internet.gprs.maxis unet net diginet celcom.net.my
    USERNAME guest maxis maxis guest guest
    PASSWORD wap net guest guest guest


Check if there is an internet connection

  1. Steps & pictures to check if there is an internet connection:
    • Check WAN status :
    • Use web browser to check internet connection

 

MOBITEK S80 SMS Modem — Send SMS via SQL Statement

Problem: Many 3G modems allow you to send SMS via graphical user interface but not able to integrate with your software or system.

 

Solution: MOBITEK® S80 SMS Modem

MOBITEK® S80 allows you to integrate with your software or system send SMS via SQL statement.

  1. To send out SMS
    Insert into Outbox (Message, Mobile, DateTimeQueue, Status) 
    values (‘Hello!’, ‘0163311600’, mm/dd/yyyy hh:mm am, ‘P’)
  2. To read all new SMS
    Select * from Inbox where Status = ‘New’

 

How It Works?

  • Your application will connect to a MS Access database file.
  • SMS Engine — Basic Edition (Windows software) connects to both MOBITEK® S80 and with the database file.
  • Whenever there is a new record in the [outbox] table, SMS Engine — Basic Edition will pick-up and instruct MOBITEK® S80 to send out as SMS.
  • Whenever there is a new incoming SMS recevied by MOBITEK® S80, SMS Engine — Basic Edition will automatically insert into [inbox] table

 

More Advantages of SMS Engine — Basic Edition 

  1. Rapid Development: no need to waste time in developing a programme to handle incoming and outgoing SMS.
  2. SIM Unlock: enter the PIN, and the SMS Engine will unlock the SIM card.
  3. Polling: set the frequency of database polling – this will control the speed of the sending and receiving SMS.
  4. Delivery Status Report: a report will accompany with each outgoing SMS to report whether the SMS is delivered or not.
  5. Routing: able to configure multiple mobile number prefixes (by comma separated).
  6. Direction: to speed-up the broadcast, SMS Engine can be configured to send SMS only.
  7. Query Balance: if prepaid is used, the credit balance can be queried.
  8. Reload: if prepaid is used, a top-up can be performed.
  9. For more information, refer to https://www.mobitek.my/main/software-development-kit/mobitek-sms-engine-basic-edition/

 

New version 6 is available for existing customer to download. Please reply to this e-mail to receive the download link.


COM Port Number of MOBITEK S80 Modem Will Change If USB Port is Changed

MOBITEK® S80 for SMS Over 3G Network

 

OBJECTIVE: to test if restarting Windows 10 causes COM port number of MOBITEK S80 SMS Modem to change.

 

TEST METHOD TEST RESULT
  1. Use MOBITEK S80 (no SIM card required)
  2. Use your Lenovo laptop running Windows 10
  3. Connect S80 into USB port no. 1
What is the COM port number?

COM 9

  • Restart Windows 10
What is the COM port number after restart?

COM 9

Does COM port number change after restart?

NO

  1. unplug S80 from USB port no. 1
  2. plug into USB port no. 2 (different one)
 What is the COM port number?  COM 7

  • Restart Windows 10
 What is the COM port number after restart? 

COM 7

Does COM port number change after restart?

NO

CONCLUSION

Restarting Windows 10 doesn’t change the COM Port Number.

It is common that that the COM port number will be changed if you plug the modem into another USB port. As long as that MOBITEK S80 is using the same USB port, COM port number will be the same.

 

USB Driver of MOBITEK S80 SMS Modem Does Not Work in VirtualBox

Applies to: MOBITEK S80

MOBITEK® S80 for SMS Over 3G Network

 

Problem: when USB driver is installed, the following error message will appear:

Description:
  Windows was able to successfully install device driver
  software, but the driver software encountered a problem
  when it tried to run. The problem code is 10.

Problem signature:
  Problem Event Name:    PnPDeviceProblemCode
  Architecture:    x64
  Hardware Id:    USB\VID_1199&PID_68A3&REV_0006
  Setup class GUID:    {36fc9e60-c465-11cf-8056-444553540000}
  PnP problem code:    0000000A
  Driver name:    swiwdmbx64.sys
  Driver version:    1.0.0.9
  Driver date:    09-01-2014
  OS Version:    6.0.6001.2.1.0.272.7
  Locale ID:    1033

Suggested Solution: in VirtualBox map the USB port of host machine to serial port to virtual machine, refer to  “How to Set-Up MOBITEK S80 Modem in VirtualBox

How to Set-Up MOBITEK S52 3G Modem in Linux Running in VirtualBox

Configuring VirtualBox

  1. Type “lsusb” in Terminal to check if the modem is connected
  2. If not goto USB Setting
  3. Click add
  4. Click SimTech and then click OK
  5. Type “lsusb” in Terminal for confirmation

    CUTECOM

  6. Change to USB2
  7. Fix the mode to “CR,LF Line end”
  8. Click Open device
  9. Type command in this space
  10. Type (AT+CMGS=”SIM number”) then press enter
  11. Change mode to “Hex input” and type “1A” to send SMS, this is an alternative way for “CTRL Z”
  12. Change the mode to “CR,LF Line end” and type the command to read SMS, AT+CMGL=”ALL”