BC95-G NIDD issue

Hello,

I’ve met the situation like described at: BC95-G issues with command CSODCP
But my network provider told that they support NONIP messaging.

From UEMonitor log I see:

nas_dbg_nas_msg.direction=DL_PDU
nas_dbg_nas_msg.msg_type=L3_EMM_ATTACH_ACCEPT

                    esmMessageContainer:
                        5201C101 08210865 6C746573 74303104 6E696464 066D6E63 30303106 6D636332
                        35300467 70727305 05FFFFFF FF5E0252 52917B00 09001502 05DC0016 0100
                        A value different from a required value was detected in the encoded data
                        1 error conditions occurred
                            1 error messages logged
                        D0062E: A value different from a required value was detected in the encoded data; check field 'noIP' of field 'pdnAddressInformation' (type: CHOICE) of field 'pdnAddress' (type: SEQUENCE) of field 'activateDefaultEPSBearerContextRequest' (type: SEQUENCE) of field 'body' (type: CHOICE) of field 'esmMessage' (type: SEQUENCE) of PDU 'NASMessage'
                        2 warning conditions occurred
                            2 warning messages logged
                        D0062W: A value different from a required value was detected in the encoded data; check field 'ext' of field 'extendedProtocolConfigurationOptions' (type: SEQUENCE) of field 'activateDefaultEPSBearerContextRequest' (type: SEQUENCE) of field 'body' (type: CHOICE) of field 'esmMessage' (type: SEQUENCE) of PDU 'NASMessage'
                        D0067W: An invalid optional information element present in the encoded data was discarded; check field 'extendedProtocolConfigurationOptions' of field 'activateDefaultEPSBearerContextRequest' (type: SEQUENCE) of field 'body' (type: CHOICE) of field 'esmMessage' (type: SEQUENCE) of PDU 'NASMessage'

For any variant of “at+csodcp” I’m getting
+CME ERROR: 50

Can anybody help me understand what’s going on?

please Upload related debug logs and debug logs

TEMP__Чт_1430__COM3___637988490119377110.zip (8.6 MB)

Log attached.

The same sim-card.
The same area, but sim7080g device works well: could send nonip data successfully.

It is strange enough.

Please configure APN AT+CFUN=0 and try again, or the network does not support non-IP
NIDD testing.pdf (130.8 KB)

Network definitely supports non-IP messaging:

  1. Network provider told “support”
  2. I could send non-IP data via sim7080g device using the same sim-card and the same network provider.

AT+QCGDEFCONT=?
ERROR

AT+QCGDEFCONT?
ERROR

Looks like firmware has no such command :frowning:

I’m using BC95GJBR01A08 firmware.

AT+CFUN=0
AT+CGDCONT=0,“NONIP”,“apn”,
AT+CFUN=1
AT+CGATT=1

AT+CGDCONT=0,“NONIP”,“apn”,

return ERROR always.
I can set AT+CGDCONT=1,“NONIP”,“apn”, only

With AT+CFUN=0
AT+CGDCONT returns ERROR always moreover.

I can use AT+CGDCONT=1,“NONIP”,“apn
after AT+CFUN=1 only

Is it correct?

OK,please execute AT+CGDCONT=1,“NONIP”,“apn ” // apn Indicates the APN provided by the SIM card

Well.

ATTACH REJECT for today.

I have to wait for a while.

Let’s return to this question a couple of weeks.

Check whether the APN is consistent with the value provided by the SIM card

I’ve spent some time for analyzing described problem.

According to warning from UEMonitor,
BC95-G cann’t parse NAS “ATTACH ACCEPT” message from eNodeB properly.

“ATTACH ACCEPT” message contents in hex is:
“07 42 01 5E 08 01 52 F0 10 35 53 35 6C 00 3F 52
01 C1 01 08 21 08 65 6C 74 65 73 74 30 31 04 6E
69 64 64 06 6D 6E 63 30 30 31 06 6D 63 63 32 35
30 04 67 70 72 73 05 05 FF FF FF FF 5E 02 52 52
91 7B 00 0A 80 00 15 02 05 DC 00 16 01 00 50 0B
F6 52 F0 10 81 4B FE F5 EF B0 63 59 49 64 02 80
08 5E 01 26”

Wireshark could parse this message with no errors or warnings as well, as sim7080g device.

I still cann’t send any non-IP data using BC95-G device.
The same sim-card, the same place but sim7080g device works just fine.

Suggested AT commands cann’t solve anything.
Looks like it’s firmware issue.

Is there any way to get it working?

The module itself supports non-IP function. I think there may be some configuration errors or network reasons

But noone can get it working…
Why you mention network reasons if SIM7080G works well?

What “D0062E: A value different from a required value was detected” means?

“D0062E: A value different from a required value was detected in the encoded data; check field ‘noIP’ of field ‘pdnAddressInformation’ (type: CHOICE) of field ‘pdnAddress’ (type: SEQUENCE) of field ‘activateDefaultEPSBearerContextRequest’ (type: SEQUENCE) of field ‘body’ (type: CHOICE) of field ‘esmMessage’ (type: SEQUENCE) of PDU ‘NASMessage’”

field ‘noIP’ of field ‘pdnAddressInformation’ is 5.
This means “PDN type : Non IP”
What’s wrong with ESM Message container?

This error appears constantly after AT commands sequence:

AT
ATE0
AT+CFUN=0
AT+CFUN=1
AT+CGDCONT=1,"NONIP","<APN>"
AT+CIPCA=3,0
AT+CGACT=1,1

“ATTACH ACCEPT” message from UEMonitor in Wireshark:

“ESM message container” which BC95-G reports "D0062E: … "

I’ve could get it working in the end.

Correct AT commands sequence is (to anyone who will try do the same):
Ensure if your network provider support control plane CIoT EPS optimization at first.

AT
OK

ATE0
OK

ATI
Quectel
BC95-G
Revision:BC95GJBR01A08
OK

AT+CFUN=0
OK

AT+CFUN=1
OK

AT+CGDCONT=1,"NONIP","<your_apn_name>"
OK

AT+CIPCA=3,0
OK

AT+CGACT=1,1
OK

// at this point wait for network registration.
// check registered state via:

AT+CEREG?
+CEREG:0,1
OK

// check PDP context (optional)
AT+CGDCONT?
+CGDCONT:1,"NONIP","<your_apn_name>",,0,0,,,,,0
OK

// you can try to send non-IP message now:

AT+CSODCP=1,3,AA11BB
OK

BTW:
AT+CSODCP=1,3,“AA11BB” doesn’t work,
AT+CSODCP=1,6,AA11BB either.
Returns ERROR for both.

D0062E: still present in UEMonitor log.

Thanks to herbert.pan-Q for patience

1 Like

As per AT command manual, PDN Type string MUST be “Non-IP” (hyphen in between Non and IP)

Below is the answer from living modem:

AT+CGDCONT=?
+CGDCONT:(0-10),(“IP”,“NONIP”,“IPV6”,“IPV4V6”),(0),(0),(0,1)

AT command manual has a lot of misleading unfortunately.

1 Like