Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Diafaan SMS Server wont detect my android phone when adding GSM modem
sp_NewPost Add Reply sp_NewTopic Add Topic
September 11, 2017
1:38 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

This error means that Android returns 'RESULT_ERROR_GENERIC_FAILURE' when the GSM Modem Emulator app tries to send this message. Android does not specify why the error occurs, just that it is not able to send the message.

The most likely causes are an invalid destination number or an insufficient SMS balance on the SIM card. However, there can be a number of other reasons for this error.

Regards, Henk

September 11, 2017
11:28 am
youritlink
Guest
Guests

Hi,

I got it working by uninstalling and then reinstalling the program. No idea what the issue was however it is resolved.

I can now receive sms but i cannot send an sms.. I receive the following failure report:

Status: 300, Error: Unknown error after PDU sent.
Error: 500, CMS error: Unknown error

Any ideas?

September 11, 2017
11:05 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Clicking on the 'Search' button will not work to detect Android phones, it can only be used to find modems on a serial port. To add a GSM Modem Gateway for an Android phone that runs our GSM Modem Emulator app you have to fill in the IP number and port number manually an then use the 'Test' button.

If you are using the 'Test' button and still do not get a response from the phone then it is likely that Diafaan SMS Server cannot create a connection to the Android phone. It might be difficult to determine the cause of the problem since it could be anywhere in the network between the PC running Diafaan SMS Server and the phone.

A good test is to use a telnet program like PuTTY to make a connection to the IP number and port number of the Android phone and send the basic AT command 'AT', if the phone does not respond with 'OK' then there is a problem with the connection between the PC and the phone and Diafaan SMS Server will also not be able to make a connection to the phone.

Regards, Henk

September 11, 2017
6:57 am
youritlink
Guest
Guests

Hi,

I am currently hitting this same issue, this used to work perfectly!
these are my current steps:

Add Gateway
GSM Modem Gateway
Selecting TCP/IP
Type in the Host IP as the emulator app indicates it
Type in the port to match as the emulator app indicates it
(have attempted to manually change the port in the app to test also)
Click on search.... Never getting a result???

I have also tried this on 2 separate android phones... One is a HTC 10 running Android 7 the other is a Motorola Moto G running Android 6.

I have also turned the firewall on the PC completely to off and tested and tried port forwarding to the devices on inbound to ensure the port was available in the network...

At a loss.

July 24, 2017
11:03 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Xenovia,

The 'Search' button in the GSM Modem Gateway setup wizard can only find modems that are connected to a local (virtual) COM port. It cannot find GSM modems over an IP connection or Android modems.

To connect and Android modem that runs our GSM Modem Emulator app, you have to set the IP number and port number of the Android app manually and click on the 'Test' button to test the connection.

Regards, Henk

July 23, 2017
3:37 pm
xenovia
Guest
Guests

When i click 'search' it just loads and then do nothing.

Screenshot: **Link removed**

I have seen it detecting my phone once but not anymore.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488