SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Tue Jun 25, 2024 14:57
SMSTools3 Community » Help and support Bottom

Android wireless SMS with GSM Modem Emulator app

Login and Post Reply

Page:  1

Author Post
Member
Registered:
May 2015
Location: Sterling Heights, United States of America
Ubuntu 14.04:
Smsd v3.1.15:
Smsd installed from: package repository
HTC Liberty (Aria) cellphone running Android 2.3 (cyanogenmod):
Interface: "GSM Modem Emulator" by Diafaan from Google Play Store over wifi TCP/IP

I was hoping someone had tried sending SMS from their Android cellphone using the app "GSM Modem Emulator" by Diafaan and could share their conf file or tips to get it going with SMSTOOLS.

https://play.google.com/store/apps/details?id=com.diafaan.gsmmodememulator&hl=en has the details and they have an informative website as well.

It says it supports PDU mode only according to the documentation.

I'm able to use socat - TCP:192.168.0.131:10001 and issue AT commands, but have no idea how to easily work with Linux and PDU mode.

Member
Registered:
Apr 2018
Location: NSW, Australia
Sending SMS works with SMS Server Tools version 3.1.21. Incoming does NOT work. I believe it requires line feed <lf> according to the modem emulator log.

Further testing required once version 3.1.23 is released as parameter “crlf = yes” should be supported in smsd.conf.

The other point, should network connectivity be lost to the modem emulator, smsd service terminates with “Modem handler 0 (WLAN1) terminated while mainprocess is still running. Exited, status 127”.
This is to be expected as smsd is unable communicate to the device. To overcome this cron script is necessary to monitor the service and restart if termination signal is received. – for now outside my scripting knowledge.

Here is the modem emulator log with SMS sent and received:


Here is my smsd.conf – remember, sending SMS is only supported.
Update the WLAN1 IP address and restart smsd service for changes to take effect.


I'm using SME Server 9.2 64 Bit VM (based on Centos 6) and have repackaged the RPM's to the lastest SMS Server Tools version 3.1.21.
Can share the RPM's if anyone is interested.

Member
Registered:
Apr 2018
Location: NSW, Australia
Some progress…

Resolved the lost of connectivity issue by using Alarm handler to catch the termination signal and cron restarting the service.

Next, incoming SMS problem; I know this has been asked before, Keke any chance of a beta release of 3.1.23?

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.