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
New MultiTech MTR-LNA7-B07 help getting it to work with Diafaan
sp_NewPost Add Reply sp_NewTopic Add Topic
March 16, 2020
3:24 pm
Harlan
Guest
Guests

Henk,

This is from Multitech, I'm not say wrong or right. but maybe from an angle that on a future release of Diafaan the registration check could be flexible and configurable via setting in server software. that allows one to set which registration to check. again no offense I can ignore the error for now and I do want to say thank you for all your support to date, and answers to my multitude of questions. Harlan

From Multitech support forums:
******
Name: Lonny Knudson Company: Multi-Tech Systems, Inc.
Reason Pending: Requesting More Information
Description:
Hi Harlan,
For LTE modems the software should be using AT+CGREG? to check registration status. +CREG does not return an accurate indication of registration status on Verizon (and possibly some other carriers). Please let me know if you have any questions.
*******

March 16, 2020
10:50 am
Henk Helmantel
Admin
Forum Posts: 1159
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The modem should respond with '0,1' for all three 'AT+CREG?', 'AT+CGREG?' and 'AT+CEREG?' commands. This is not an issue with Verizon but a characteristic of the radio chip in the modem. There are a few other modem chips with this issue.

The 'AT+CREG?' command is only used to check and report the status of the network connection. Diafaan SMS Server can also use it for the 'RebootAfterNetworkFailure' or 'RebootAfterNetworkRoaming' options, but these options are not enabled by default. If you are not using these two options you can just ignore the error in the event log.

Regards, Henk

March 14, 2020
11:20 pm
Harlan
Guest
Guests

OK
AT+CREG?
+CREG: 0,3
OK
AT+CGREG?
+CGREG: 0,1
OK
AT+CEREG?
+CEREG: 0,1
OK
AT+COPS?
+COPS: 0,0,"Verizon Wireless",7
OK
AT+QNWINFO
+QNWINFO: "FDD LTE","311480","LTE BAND 4",2050
OK
AT+CPIN?
+CPIN: READY
OK
AT+CFUN?
+CFUN: 1
OK
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","IMS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","VZWADMIN","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","VZWINTERNET","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 4,"IPV4V6","VZWAPP","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 5,"IPV4V6","VZW800","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 6,"IPV4V6","VZWEMERGENCY","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
OK
AT+CGACT?
+CGACT: 1,1
+CGACT: 2,0
+CGACT: 3,0
+CGACT: 4,0
+CGACT: 5,0
+CGACT: 6,0
OK

March 14, 2020
5:33 pm
Harlan
Guest
Guests

so no way to change this. The system is working sending and receiving, SMS PDU messages which is great.
AT+CGREG? returns +CGREG: 0,1 gprs home network
but the check that Diafaan is doing
AT+CREG? returns +CREG: 0,3 is the one that fails.

I was just trying to get rid of the log error.
is this something I need to take up with Verizon?

March 14, 2020
11:28 am
Henk Helmantel
Admin
Forum Posts: 1159
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Diafaan SMS Server checks the mobile network connection of the modem every 10 minutes with the 'AT+CSQ' and 'AT+CREG?' commands. The '3' in the response '+CREG: 0,3' means 'Registration denied' so it indicates that the modem found a mobile network but was not able to log on to it. The modem should respond with '+CREG: 0,1' (registered on the home network) or '+CREG: 0,5' (registered on a roaming network).

The modem logs on to the mobile network automatically, without any commands from Diafaan SMS Server. It is possible to send a command to the modem that it only can log on to a specific network but that is not recommendable in most situations.

Regards, Henk

March 13, 2020
8:38 pm
Harlan
Guest
Guests

another question I'm getting
2020/03/13 11:51:38.281 > AT+CREG?
2020/03/13 11:51:38.312 < +CREG: 0,3

which according to MultiTech is 3G registration check and since modem is 4G LTE it uses
AT+CGREG?

is there a way to change this as I'm getting this in my log file every 10 min and then once an hour I get

EventTime Event Source
3/13/2020 12:11:38 PM Network error, the registration to the mobile network was denied Verizon Gateway

I'm using
CompatibiltyMode Normal
ModemInitalizationEnd AT+CGATT=1 (this is to counter the AT+CGATT=0 that happens when Diafaan reboots modem or modem starts up and Diafaan sees it and opens comms to it)

Thank for all your help so far.

March 12, 2020
9:08 pm
Henk Helmantel
Admin
Forum Posts: 1159
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

That's good news. You can set the 'DefaultAddressType' property in the advanced settings of the GSM Modem Gateway to 'National' so that you do not have to use the # prefix for the destination numbers anymore.

Regards, Henk

March 12, 2020
8:48 pm
Harlan
Guest
Guests

#12112110000 format did the trick
able to send and receive in SMS PDU mode

I'll let MultiTech know

March 12, 2020
8:36 pm
Henk Helmantel
Admin
Forum Posts: 1159
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

It is also possible that Verizon accepts the message but is not able to deliver it. You can try different number formats for the destination number, e.g. instead of +12112110000 try 012112110000, or #012112110000, or #12112110000. Some mobile networks are very strict in the number format that they accept.

The GSM SMS PDU mode is relatively new for (originally) CDMA based mobile networks like Verizon. In fact this is the first time that I heard that PDU works on this network, if only for received messages. When PDU mode does not work, you can use text mode. But you will lose some of the SMS features like Unicode messages or multi-part long messages.

Regards, Henk

March 12, 2020
6:16 pm
Harlan
Guest
Guests

I have a support ticket in with MultiTech. This is a new modem (new model), new firmware.
we tested PDU mode and modem looks to send and results ok , but cell user never get message.
when a cell user sends a message to modem.. modem receives it and Diafaan decodes it and it is readable.

BTW Cell service is with Verizon. So ATM this is in MultiTechs hands and I'm going to try and change Diafaan over to Text only

March 12, 2020
3:56 pm
Harlan
Guest
Guests

Ok this morning after sleeping on things I left the
CompatibilityMode = Normal

I added
ModemInitializationEnd = AT+CGATT=1

This leaves modem in SMS PDU mode

test 1 send from diafaan
I did a test send, Diafaan says sent comm log says ok after command but my cell never received the message.

test 2 send a message from my iphone
modem and diafaan received message and I could read it.

ideas of why test 1 worked but didn't work?

March 12, 2020
11:05 am
Henk Helmantel
Admin
Forum Posts: 1159
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Harlan,

The first thing you can try is to set the 'CompatibilityMode' in the advanced settings of the GSM Modem Gateway to 'BasicPDUMode'. With this setting, Diafaan SMS Server does not use the 'AT+CGATT=0' and 'AT+CNMI=1,0,0,1' commands. You can also set the 'ModemInitializationEnd' property to 'AT+CNMI=2,2,0,0,0' if Diafaan SMS Server does not receive new SMS messages or status updates from the modem, but this is probably not necessary.

If this does not work, you can set 'CompatibilityMode' to 'BasicTextMode'. In this mode Diafaan SMS Server uses the 'AT+CMGF=1' command to set the modem in text mode instead of PDU mode. Text mode means that the SMS messages are sent and received in clear text between Diafaan SMS Server and the modem, PDU mode uses a binary format that is more unambiguous than text mode so it is best to use PDU mode if the modem supports it.

Regards, Henk

March 11, 2020
11:37 pm
Harlan
Guest
Guests

I have several hours into troubleshooting this. This is the New MTR-LNA7 LTE 4G modem router.
I've worked out the kinks with the modem and have been able to send and rcv via terminal attached to telnet.

I'm now working with Diafaan and some of the init is derailing the unit.
AT+CMGF=1 (Diafaan is giving it a 0)
AT+CNMI=2,2,0,0,0 (Diafaan is giving it AT+CNMI=1,0,0,1)
also
Diafaan is giving the modem AT+CGATT=0
this then causes the modem to information in the modem GUI cellular service information to go to unknown.
but when I set it to AT+CGATT=1
all the correct information comes up

I know the modem will send and receive but as of current I'm having trouble configuring Diafaan. can anyone help?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 565

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 928

Posts: 3192

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1159