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
status 300 : ....is not a valid SMS PDU Data field.
sp_NewPost Add Reply sp_NewTopic Add Topic
February 14, 2018
9:58 pm
klorane
Guest
Guests

Hello Kenk,

i tested new version 4.2.0.1. problem is resolved

Perfect!!

i'm testing option and i thinks buy it ^^

Thanks
Klorane

February 8, 2018
3:14 pm
klorane
Guest
Guests

Ok Henk

I wait your futur version.

i see for format national or international.

But Thanks.

Klorane

February 2, 2018
6:24 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

I found the cause of the error 'La référence d'objet n'est pas définie à une instance d'un objet.'. It is caused by a bug in the handling of the 'BasicTextMode' compatibility mode of the GSM Modem Gateway. We will fix that in the next version of Diafaan SMS Server.

'BasicTextMode' should only be used with modems or mobile networks that do not support PDU mode, the implementation of SMS text mode in Diafaan SMS Server is very basic and a lot of SMS options are not available in text mode. Usually it is best to use only the 'Enhanced' or 'Normal' compatibility modes.

When I look at the communication logs of your two modems it seems that your mobile operator only accepts numbers in local number format (06...) and not in international number format (+336...), usually it is the other way around. Diafaan SMS Server uses the international number plan as the default because that works best for most networks but in your situation you might have to set the 'DefaultAddressType' property in the advanced settings of the GSM Modem Gateway to 'National' and use the local number format (06...) only when you send the messages. You can use the Number template option in Diafaan SMS Server to convert the numbers from one format to another if necessary.

Regards, Henk

February 2, 2018
10:32 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

For the error 'La référence d'objet n'est pas définie à une instance d'un objet.' there should be an error in the event log of Diafaan SMS Server as well as in the send log but I can't find it in the event log that you sent me. Did you send the complete event log or only a part of it?

Without the entry in the event log entry it is difficult for me to find out what the root cause of the error could be.

Regards, Henk

January 31, 2018
7:07 pm
klorane
Guest
Guests

i select: sms.text but it doesn't solve the problem.

I have this :300, Error: La référence d'objet n'est pas définie à une instance d'un objet.
(translation : The object reference is not defined at an instance of an object.)

January 31, 2018
11:32 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The error '"bonjour" is not a valid SMS PDU Data field' means that you are trying to send a binary message without properly encoding the PDU data fields of the message.

Is the error 'La référence d'objet n'est pas définie à une instance d'un objet.' also visible in the event log of Diafaan SMS Server? Is that is the case then I would like to see the full log entry (right-click on the log entry and select 'Export to file'). You can send the log to dms@diafaan.com.

Regards, Henk

January 31, 2018
5:23 am
klorane
Guest
Guests

i use software : dc_unlocker 2 for informations on modem

selection :
manufacturer - Huawei modems
model - Auto detect (recommended)

Found Applications port COM10

Found modem : E3372
Model : Huawei E3372h
Firmware : 21.200.07.00.805
Compile date / time : Aug 19 2015 20:09:19
Hardware ver. : CL2E3372HM
Dashboard version : WEBUI_17.100.06.00.03_Hilink_V7R2_9x25_CPIO
SIM Lock status : unlocked
Wrong codes entered : 0 (unlock attempts left : 10)

===================================================================
AT+CMGF?
+CMGF: 1
OK
------------------------

in Diafaan properties gateway:
Compatibilitymode:BasicTextemode (and i test with :normal)
ModemInitializationCommande:ATE0
Modemrebootcommand: AT+CMFG=1
ModemRebootTime:30
ModemResetCommand: AT&F

I test for send message
I select :Connector : SQL connector
type message : sms.text
message :test

result :300, Error: La référence d'objet n'est pas définie à une instance d'un objet.
(translation : The object reference is not defined at an instance of an object.)

January 30, 2018
11:28 pm
klorane
Guest
Guests

Hello Henk.

Problem of mysql is resolved and installation modem also.( i modified firmware)

To receive a message it's good.

But to send message I have the same problem:

300, Error: "bonjour" is not a valid SMS PDU Data field.

Klorane

January 30, 2018
7:05 pm
klorane
Guest
Guests

Hello Henk,

I received my usb modem HUAWEI E3372

it's installed on my pc.

First problem: I dont want Diafaan SQL connector use my connection modem for connect to mysql. I wan't use cable connection.

I changed the connection priorities in my network. When my modem is connected with my network cable in google chrome: my cable has priority.
In Diafaan can't connect to mysql but when I remove the modem connection is good.i think it want use modem.

second problem:
i want install usb modem in diafaan (i do: add gateway).
after what I chose?
com: it isn't a modem on port com.
tcp / ip ?: ip address: 192.168.8.1 but port: 23? I test..result: failed.

Thank
Klorane

January 29, 2018
2:11 pm
klorane
Guest
Guests

Thans Henk for your answer.

I tested with other AT commands and error 512 is still there.

I ordered another HUAWEI E3372 E3370 USB modem.
Sierra model is I don't think very well.

I'm waiting for my new modem.

Klorane

January 29, 2018
9:38 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Thank you for the logs. The error "'bonjour' is not a valid SMS PDU Data field" is caused by the way that you are sending the message. You are using the message type 'sms.binary' or 'sms.pdu' and if you use this message type then you have to encode the message to hexadecimal digits yourself, 'bonjour' is not a valid hexadecimal encoding of (a part of) the message PDU. You can find more information about binary messages in the online manual.

In the communication log of the modem I see that the modem returns CMS error 512 after Diafaan SMS Server tries to send the message. This is a manufacturer specific error that unfortunately does not explain anything about the underlying cause of the error. I do not see any clear reason in the log for this error.

I found a reference to this error for the FXT100 modem on the internet where the problem was that the modem did not connect properly to the mobile network when the quad-band mode was selected. The solution appeared to be to set the modem in dual-band mode with the AT command 'AT+WMBS=4,1', 'AT+WMBS=5,1' or AT+WMBS=6,1' (depending on your network). You can use AT command 'AT+WMBS=7,1' to set the modem back to quad-band mode.

Regards, Henk

January 26, 2018
11:41 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Klorane,

Can you send me the communication log for the modem and the configuration file (menu options 'File-Export-Configuration)?

You can send the log files to email address dms@diafaan.com. Please make sure to include the serial number of your license in the email.

Regards, Henk

January 26, 2018
1:40 am
klorane
Guest
Guests

Hello,

do you know why I have this status: 300:'bonjour' is not a valid SMS PDU Data field.

my message isn't sent.

i use modem : Sierra Wirless Fx100.

Thanks
Klorane

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
2 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