EM7455 Gives different address using DHCP client and reports different address while reading from run-time setting

Hi all,

We are using em7455 in one of our product with liblite QMI SDK from sierra and “GobiNet” & “GobiSerial” driver. It was able to connect to network correctly and get the IP address using DHCP client. Surprisingly, IP address assigned by running dhcp client is different then on we got from using API call to get run-time setting for active PDN. Below I am marking all important info in bold text. Can anyone explain this anomaly?

Jun 10 15:08:11 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:32] Using liteqmi library SLQSLITESLQS04.00.17
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 modem.cpp:1031] Preferred Bands are Any
Jun 10 15:08:12 [044008 INF ltemodem ltemodem:1 modemagent.cpp:221] Sierra LTE MODEM ready to use
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:370] LEAVING STATE : modemSm::MODEM_STATE_UNINITIALIZED
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:376] ENTER TRANSITION: modemSm::MODEM_STATE_UNINITIALIZED::start_init()
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:385] EXIT TRANSITION : modemSm::MODEM_STATE_UNINITIALIZED::start_init()
Jun 10 15:08:12 [044000 INF ltemodem ltemodem:1 modemagent.cpp:127] TASK IS READY
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 modemagent.cpp:379] **** UNI_LTEMODEM_INT_INTFSM_MGMT_PORT_OPEN_RESPONSE ****
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:513] LEAVING STATE : modemSm::MODEM_WAIT_MGMT_PORT
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:521] ENTER TRANSITION: modemSm::MODEM_WAIT_MGMT_PORT::mgmtPortOpen()
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:529] EXIT TRANSITION : modemSm::MODEM_WAIT_MGMT_PORT::mgmtPortOpen()
Jun 10 15:08:12 [006011 DBG sysmgr sysmgr:1 sysmgr_notify.cpp:141] Task ltemodem:1 subscribes to Task dhcpmgr:1 Key:65545
Jun 10 15:08:12 [006011 DBG sysmgr sysmgr:1 sysmgr_notify.cpp:141] Task ltemodem:1 subscribes to Task dhcpmgr:1 Key:65541
Jun 10 15:08:12 [006011 DBG sysmgr sysmgr:1 sysmgr_notify.cpp:141] Task ltemodem:1 subscribes to Task configmgr:1 Key:65537
Jun 10 15:08:12 [006011 DBG sysmgr sysmgr:1 sysmgr_notify.cpp:141] Task ltemodem:1 subscribes to Task configmgr:1 Key:65539
Jun 10 15:08:12 [006007 DBG sysmgr sysmgr:1 sysmgr_startup.cpp:299] Received TASK READY for task ltemodem:1
Jun 10 15:08:12 [009006 DBG faultmgr sysmgr:1 unievent.cpp:186] DEBUG: UniEvent send() obj_name: ltemodem:1 eventId: 4 sysName timestamp 1560179292 eventType 2
Jun 10 15:08:12 [009006 DBG faultmgr faultmgr:1 faultproxy.cpp:705] DEBUG: FM:handleIpc obj_name: ltemodem:1 eventId: 4 sysName timestamp 1560179292 eventType 2
Jun 10 15:08:12 [009001 DBG faultmgr faultmgr:1 faultmgrbase.cpp:301] DEBUG: adding to recent cleared list: objName: ltemodem:1 eventId: 4 sysName: CWSid: 0 type: 2
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:705] LEAVING STATE : modemSm::MODEM_WAIT_SETUP_COMPLETE
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:711] ENTER TRANSITION: modemSm::MODEM_WAIT_SETUP_COMPLETE::CommandSetComplete()
Jun 10 15:08:12 [009006 DBG faultmgr faultmgr:1 faultproxy.cpp:576] DEBUG: Processing delayed clear! obj_name: ltemodem:1 eventId: 4 sysName timestamp 1560179292 eventType 2
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:265] >>>>> sending qmi req DMS_GET_MANUFACTURER
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 01 00 21 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:273] <<<<< receiving qmi rsp DMS_GET_MANUFACTURER
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 01 00 21 00 27 00 02 04 00 00 00 00 00 01 1d
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 53 69 65 72 72 61 20 57 69 72 65 6c 65 73 73
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 2c 20 49 6e 63 6f 72 70 6f 72 61 74 65 64
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:47] MODEM Manufacturer - Sierra Wireless, Incorporated
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:129] Sierra Modem Manufacturer Sierra Wireless, Incorporated
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req DMS_GET_MODEL_ID
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 02 00 22 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp DMS_GET_MODEL_ID
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 02 00 22 00 10 00 02 04 00 00 00 00 00 01 06
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 45 4d 37 34 35 35
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP23unpack_dms_GetModelID_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:61] MODEM Model Number - EM7455
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:131] Sierra Modem Model Number EM7455
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req DMS_GET_HARDWARE_REV
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 03 00 2c 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp DMS_GET_HARDWARE_REV
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 03 00 2c 00 0d 00 02 04 00 00 00 00 00 01 03
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 31 2e 30
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP32unpack_dms_GetHardwareRevision_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:33] MODEM Hardware revision - 1.0
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:133] Sierra Modem HW REV 1.0
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req DMS_GET_IDS
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 04 00 25 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp DMS_GET_IDS
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 04 00 25 00 33 00 02 04 00 00 00 00 00 13 02
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 31 30 12 0e 00 33 35 34 33 32 34 30 37 30 30
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 34 31 33 35 10 01 00 30 11 0f 00 33 35 34 33 32
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 34 30 37 30 30 34 31 33 35 31
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP29unpack_dms_GetSerialNumbers_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:76] MODEM ESN - 0
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:77] MODEM IMEI - 354324070041351
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:78] MODEM MEID - 35432407004135
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:79] MODEM IMEISV_SVN - 10
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:135] Sierra Modem IMEI Number 354324070041351
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiUimApi.cpp:29] uimApiAllocUnPackReadTransparentDs - alloc counter 1
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req UIM_READ_TRANSPARENT
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 05 00 20 00 17 00 01 03 00 00 01 31 02 07 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 07 6f 04 00 3f ff 7f 03 04 00 00 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp UIM_READ_TRANSPARENT
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 05 00 20 00 1a 00 02 04 00 00 00 00 00 11 0b
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 09 00 08 09 10 10 21 43 65 37 65 10 02 00 90
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP28unpack_uim_ReadTransparent_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiUimApi.cpp:91] SW1 received from card :90
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiUimApi.cpp:92] SW2 received from card :0
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:68] MODEM IMSI Number : 001011234567356
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiUimApi.cpp:56] uimApiDeallocUnPackReadTransparentDs - dealloc counter 1
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:137] Sierra Modem IMSI Number 001011234567356
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiUimApi.cpp:29] uimApiAllocUnPackReadTransparentDs - alloc counter 2
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req UIM_READ_TRANSPARENT
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 06 00 20 00 17 00 01 03 00 00 01 31 02 07 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] e2 2f 04 00 3f e2 2f 03 04 00 00 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp UIM_READ_TRANSPARENT
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 02 06 00 20 00 07 00 02 04 00 01 00 50 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:195] PFiPhtP28unpack_uim_ReadTransparent_tE - Error code : 1080 reason : SIM file not found
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP28unpack_uim_ReadTransparent_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:101] MODEM UIM ICCID Number : 89
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiUimApi.cpp:56] uimApiDeallocUnPackReadTransparentDs - dealloc counter 2
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:139] Sierra Modem ICCID Number 89
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req DMS_GET_CWE_SPKGS_INFO
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 07 00 56 55 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp DMS_GET_CWE_SPKGS_INFO
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 07 00 56 55 76 00 02 04 00 00 00 00 00 18 0c
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 30 30 32 2e 30 34 35 5f 30 30 31 00 17 08 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 47 45 4e 45 52 49 43 00 16 08 00 30 30 31 2e 30
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 30 31 00 15 02 00 31 00 13 08 00 31 31 30 32 35
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 32 37 00 12 15 00 53 57 49 39 58 33 30 43 5f 30
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 32 2e 33 30 2e 30 31 2e 30 31 00 11 15 00 53 57
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 49 39 58 33 30 43 5f 30 32 2e 33 30 2e 30 31 2e
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 30 31 00 10 07 00 45 4d 37 34 35 35 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP28unpack_dms_GetFirmwareInfo_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:93] MODEM Model ID - EM7455
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:94] MODEM BootVersion - SWI9X30C_02.30.01.01
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:95] MODEM App Version - SWI9X30C_02.30.01.01
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:96] MODEM Sku - 1102527
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:97] MODEM Package ID -
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:98] MODEM Carrier - 1
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:99] MODEM Pri Version - 001.001
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:100] MODEM Current Carrier Name - GENERIC
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:101] MODEM Current Carrier Rev - 002.045_001
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req DMS_GET_BAND_CAPS
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 08 00 45 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp DMS_GET_BAND_CAPS
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 08 00 45 00 28 00 02 04 00 00 00 00 00 11 08
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 00 00 00 00 00 00 00 00 10 08 00 df 18 08 33
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 01 00 00 01 08 00 00 00 c0 07 00 00 02 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP34unpack_dms_SLQSGetBandCapability_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:113] MODEM LTE BAND Supported ? - Yes
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:114] MODEM LTE BAND Capability(Set bit == supported band) - 0x100330818df
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:115] MODEM TDS BAND Supported ? - Yes
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:116] MODEM TDS BAND Capability(Set bit == supported band) - 0x0
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraModem.cpp:123] Supported Bands are 1 2 3 4 5 7 8 12 13 20 25 26 29 30 41
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req DMS_GET_MSISDN
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 09 00 24 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp DMS_GET_MSISDN
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 02 09 00 24 00 07 00 02 04 00 01 00 10 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:195] PFiPhtP27unpack_dms_GetVoiceNumber_tE - Error code : 1016 reason : Requested information element not provisioned on device
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP27unpack_dms_GetVoiceNumber_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiDmsApi.cpp:131] MODEM Voice Number - u^vHu^v����1 2 3 4 5 7 8 12 13 20 25 26 29
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:718] EXIT TRANSITION : modemSm::MODEM_WAIT_SETUP_COMPLETE::CommandSetComplete()
Jun 10 15:08:12 [000121 INF system ltemodem:1 unitask.cpp:764] UniTask.cpp handleLogConfigMessage
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:752] LEAVING STATE : modemSm::MODEM_WAIT_INFO_RETRIEVAL
Jun 10 15:08:12 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:758] ENTER TRANSITION: modemSm::MODEM_WAIT_INFO_RETRIEVAL::CommandSetComplete()
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_DELETE_PROFILE
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 0a 00 29 00 05 00 01 02 00 00 01
Jun 10 15:08:12 [027000 DBG resmontask resmon:1 resmon.cpp:555] Resouce: Add Task ltemodem:1 Pid 1579
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_DELETE_PROFILE
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 0a 00 29 00 0c 00 02 04 00 01 00 51 00 e0 02
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 05 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:195] PFiPhtP30unpack_wds_SLQSDeleteProfile_tE - Error code : 1081 reason : Extended Internal
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP30unpack_wds_SLQSDeleteProfile_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:39] wdsApiDelPdpProfile - Error code : 5
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_DELETE_PROFILE
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 0b 00 29 00 05 00 01 02 00 00 02
Jun 10 15:08:12 [026500 DBG resmonfrmk resmon:1 rm_collect.cpp:786] COLLECT: Initialize Module ‘ltemodem_1’ SUCCESS: metric-count 19
Jun 10 15:08:12 [026511 DBG resmonfrmk resmon:1 rm_notify.cpp:369] NOTIFY: Initialize Module ‘ltemodem_1’ SUCCESS: metric-count 19
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_DELETE_PROFILE
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 0b 00 29 00 0c 00 02 04 00 01 00 51 00 e0 02
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 05 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:195] PFiPhtP30unpack_wds_SLQSDeleteProfile_tE - Error code : 1081 reason : Extended Internal
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP30unpack_wds_SLQSDeleteProfile_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:39] wdsApiDelPdpProfile - Error code : 5
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_SWI_CREATE_PROFILE
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 0c 00 58 55 38 00 01 02 00 00 01 10 08 00 70
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 72 6f 66 69 6c 65 31 11 01 00 03 12 01 00 00 13
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 01 00 00 14 07 00 41 50 4e 41 4d 45 31 15 04 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 00 00 00 16 04 00 00 00 00 00 36 01 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_SWI_CREATE_PROFILE
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 0c 00 58 55 0c 00 02 04 00 00 00 00 00 01 02
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 00 01
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP30unpack_wds_SLQSCreateProfile_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_SET_IP_FAMILY
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 0d 00 4d 00 04 00 01 01 00 04
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_SET_IP_FAMILY
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 02 0d 00 4d 00 07 00 02 04 00 00 00 00 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP38unpack_wds_SLQSSetIPFamilyPreference_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_START_NET
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 0e 00 20 00 04 00 31 01 00 01
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_START_NET
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 0e 00 20 00 0e 00 02 04 00 00 00 00 00 01 04
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 50 c6 c3 03
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP33unpack_wds_SLQSStartDataSession_tE - Response received
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:265] wdsApiStartDataSession - SessionID - 03C3C650, Failure Reason - 00000000, Failure Reason Type - 00000000, Verbose Reason - 00000000
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_GET_SETTINGS
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 0f 00 2d 00 07 00 10 04 00 ff ff 03 00
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_PKT_STATUS_IND
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 04 01 00 22 00 12 00 01 02 00 02 00 12 01 00 04
Jun 10 15:08:12 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 13 02 00 80 88 14 01 00 05
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_GET_SETTINGS
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 0f 00 2d 00 70 00 02 04 00 00 00 00 00 1e 04
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 c8 19 a8 c0 15 04 00 08 08 08 08 16 04 00 04
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 08 08 08 20 04 00 c9 19 a8 c0 21 04 00 f0 ff ff
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] ff 24 01 00 00 23 01 00 00 29 04 00 dc 05 00 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 2a 01 00 00 2b 01 00 04 2d 02 00 80 88 1f 02 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 01 10 08 00 70 72 6f 66 69 6c 65 31 11 01 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 00 14 07 00 41 50 4e 41 4d 45 31 1d 01 00 00 22
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 01 00 00 2c 01 00 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP35unpack_wds_SLQSGetRuntimeSettings_tE - Response received
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:98] IP Addr - 192.168.25.201, Subnet Mask - 192.168.25.201, Gateway - 192.168.25.201
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:104] Primary DNS - 8.8.8.4, Secondry DNS - 8.8.8.4
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:173] >>>>> sending qmi req WDS_SET_IP_FAMILY
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 10 00 4d 00 04 00 01 01 00 04
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:183] <<<<< receiving qmi rsp WDS_SET_IP_FAMILY
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 02 10 00 4d 00 07 00 02 04 00 00 00 00 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP38unpack_wds_SLQSSetIPFamilyPreference_tE - Response received
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:265] >>>>> sending qmi req NAS_GET_SIG_INFO
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 11 00 4f 00 00 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:273] <<<<< receiving qmi rsp NAS_GET_SIG_INFO
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 11 00 4f 00 10 00 02 04 00 00 00 00 00 14 06
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 ae f9 97 ff be 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:88] nasApiGetSigInfo - RSSI : -82 dBm
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:89] nasApiGetSigInfo - RSCP : -7 dB
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:90] nasApiGetSigInfo - RSRP : -105 dBm
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:92] nasApiGetSigInfo - SNR : 19.0 dB
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:265] >>>>> sending qmi req WDS_GET_PKT_STATUS
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 12 00 22 00 00 00
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:273] <<<<< receiving qmi rsp WDS_GET_PKT_STATUS
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 12 00 22 00 0b 00 02 04 00 00 00 00 00 01 01
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 02
Jun 10 15:08:13 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:291] wdsApiGetSessionState - Conection Status 2, Connected
Jun 10 15:08:13 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:765] EXIT TRANSITION : modemSm::MODEM_WAIT_INFO_RETRIEVAL::CommandSetComplete()
Jun 10 15:08:13 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:799] LEAVING STATE : modemSm::MODEM_WAIT_CONN_PREF_SETUP
Jun 10 15:08:13 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:825] ENTER TRANSITION: modemSm::MODEM_WAIT_CONN_PREF_SETUP::CommandSetComplete()
Jun 10 15:08:13 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:830] EXIT TRANSITION : modemSm::MODEM_WAIT_CONN_PREF_SETUP::CommandSetComplete()
root@em7455:~#
root@em7455:~#
root@em7455:~#
root@em7455:~# udhcpc -i eth3
udhcpc (v1.22.1) started
Sending discover…
Sending select for 192.168.25.200…
Lease of 192.168.25.200 obtained, lease time 7200
/etc/udhcpc.d/50default: Adding DNS 8.8.8.8
/etc/udhcpc.d/50default: Adding DNS 8.8.8.4
root@em7455:~#
root@em7455:~#
root@em7455:~#
root@em7455:~#

Appreciate you help !!!

Please check AT!CUSTOM? and enable DHCPRELAYENABLE. From AT guide:

1—Enable. DHCP requests (packets for port 67 with target IP address of DHCP
server) go out over the network.

@anon56110884

Thank you for prompt reply!!!

AT!CUSTOM?
!CUSTOM:
GPSENABLE 0x01
GPSSEL 0x01
IPV6ENABLE 0x01
SIMLPM 0x01
USBSERIALENABLE 0x01
SINGLEAPNSWITCH 0x01

OK
AT!CUSTOM=“DHCPRELAYENABLE”,1
OK
AT!CUSTOM?
!CUSTOM:
GPSENABLE 0x01
GPSSEL 0x01
IPV6ENABLE 0x01
SIMLPM 0x01
USBSERIALENABLE 0x01
DHCPRELAYENABLE 0x01
SINGLEAPNSWITCH 0x01

OK

This is what my configuration looks like now. Is there a lite qmi api to do this?

Also, I don’t see any difference in behavior with this changes.

Does the GobiNet driver needs to be configured differently? FYI, I am using linux kernel version “3.12.37”. Is there any tricks that need to be run for raw ip mode. I know for sure that I am using raw ip mode.

The CUSTOM setting will take effect only after a modem reset via AT!RESET. Have you tried after a reset?
You can use lite qmi API “pack_dms_SetCustFeaturesV2” to set CUSTOM settings.

Thank you @anon56110884

I still(After executing at!reset) see the same issue.

Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 01 00 00 2c 01 00 00
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:204] PFiPhtP35unpack_wds_SLQSGetRuntimeSettings_tE - Response received
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:93] Profile Name - profile1
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:94] PDP Type - 0
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:95] APN Name - APNAME1
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:102] IP Addr - 192.168.25.180, Subnet Mask - 192.168.25.180, Gateway - 192.168.25.180
un 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:108] Primary DNS - 8.8.8.4, Secondry DNS - 8.8.8.4
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:265] >>>>> sending qmi req NAS_GET_SIG_INFO
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 10 00 4f 00 00 00
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:273] <<<<< receiving qmi rsp NAS_GET_SIG_INFO
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 10 00 4f 00 10 00 02 04 00 00 00 00 00 14 06
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 ad f9 96 ff bc 00
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:88] nasApiGetSigInfo - RSSI : -83 dBm
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:89] nasApiGetSigInfo - RSCP : -7 dB
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:90] nasApiGetSigInfo - RSRP : -106 dBm
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiNasApi.cpp:92] nasApiGetSigInfo - SNR : 18.8 dB
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:265] >>>>> sending qmi req WDS_GET_PKT_STATUS
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 11 00 22 00 00 00
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.h:273] <<<<< receiving qmi rsp WDS_GET_PKT_STATUS
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:94] 02 11 00 22 00 0b 00 02 04 00 00 00 00 00 01 01
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiPackUnpack.cpp:99] 00 02
Jun 12 17:54:20 [044051 INF ltemodem ltemodem:1 sierraQmiWdsApi.cpp:295] wdsApiGetSessionState - Conection Status 2, Connected
Jun 12 17:54:20 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:765] EXIT TRANSITION : modemSm::MODEM_WAIT_INFO_RETRIEVAL::CommandSetComplete()
Jun 12 17:54:20 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:799] LEAVING STATE : modemSm::MODEM_WAIT_CONN_PREF_SETUP
Jun 12 17:54:20 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:825] ENTER TRANSITION: modemSm::MODEM_WAIT_CONN_PREF_SETUP::CommandSetComplete()
Jun 12 17:54:20 [044050 INF ltemodem ltemodem:1 modem_sm.cpp:830] EXIT TRANSITION : modemSm::MODEM_WAIT_CONN_PREF_SETUP::CommandSetComplete()
root@-em7455:~#
root@-em7455:~#
root@-em7455:~# udhcpc -i wwan0
udhcpc (v1.22.1) started
Sending discover…
Sending select for 192.168.25.179…
Lease of 192.168.25.179 obtained, lease time 7200
/etc/udhcpc.d/50default: Adding DNS 8.8.8.8
/etc/udhcpc.d/50default: Adding DNS 8.8.8.4
root@-em7455:~#

Hi @Dhruval, the QMI IP, mask and GW IP are all same which is not correct. Are you testing with a live network or test network? If a test network, could you please test with a live network and check for the issue? If you still see the issue with a live network, could you please post your AT!GSTATUS? and AT+CGCONTRDP after you start your data session. Thanks