Le_data_request spend too long time

hi,guys:
I am a new bee as i said at the last time, i have a problem like this:
when i use function le_data_request(), i founf it cost 8 sceonds to get online, i think 8 seconds is too long。who can tell me why or another method that cost shorter time to get online? thanks!
log:
Oct 18 02:07:00 | modemDemo[11333]/demoComponent T=main | demo.c _demoComponent_COMPONENT_INIT() 966 | zxxxxxxxxx Running modemDemo
Oct 18 02:07:00 | modemDemo[11333]/demoComponent T=main | demo.c _demoComponent_COMPONENT_INIT() 968 | time01:1539828420
Oct 18 02:07:00 | modemDemo[11333]/demoComponent T=main | demo.c GoOnline() 296 | Requesting the default data connection: 0x10000011.
Oct 18 02:07:00 | modemDaemon[543]/le_pa T=main | pa_mrc_qmi.c pa_mrc_GetNetworkRegState() 2040 | called
Oct 18 02:07:03 | dcsDaemon[535]/dataConnectionService T=main | dcsServer.c SetModemGateway() 1561 | Could not save the default gateway
Oct 18 02:07:03 | dcsDaemon[535]/dataConnectionService T=main | dcsServer.c AddNameserversToResolvConf() 1239 | Set DNS ‘120.80.80.80’ ‘221.5.88.88’
Oct 18 02:07:08 | modemDemo[11333]/demoComponent T=main | demo.c ConnectionStateHandler() 919 | Connection State Event: ‘rmnet0’ connected
Oct 18 02:07:08 | modemDemo[11333]/demoComponent T=main | demo.c ConnectionStateHandler() 930 | time02:1539828428
Oct 18 02:07:08 | modemDemo[11333]/demoComponent T=main | demo.c ConnectionStateHandler() 931 | -----------------cost:8 seconds
Oct 18 02:07:08 | modemDemo[11333]/demoComponent T=main | demo.c ConnectionStateHandler() 932 | Data connection: connected.
Oct 18 02:07:08 | modemDemo[11333]/demoComponent T=main | demo.c TestDataConnectionV4() 384 | Connecting to 119.29.252.252 (zhouxin server)
Oct 18 02:07:08 | modemDemo[11333]/demoComponent T=main | demo.c TestDataConnectionV4() 395 | ------------Connection to server was successful[14]

Hi,

Please provide details about your target HW/SW setup:
legato version; cm info

It seems that you are using an old version of Legato (16.x).
Improvements have been made in Data Connection Service of newest versions of Legato (18.x).

If you have WP8548/WP75xx module then I suggest to upgrade it to latest Release 16 firmware:
https://source.sierrawireless.com/resources/airprime/software/wpx5xx/wpx5xx-firmware-latest-release/

This Release 16 firmware bundles Legato 18.06.1.

Please redo your test with this version.

Tank you, I will have a try。

I hava tried to updated the latest firmware:18.06,but It slao spend 8 seconds to het online, that’s a long time.
cm info :
Index: 2
APN: zhouxin
PDP Type: IPV4
Connected: no
root@swi-mdm9x15:~# cm info
Device: WP7502
IMEI: 357851070036814
IMEISV: 2F
FSN: P3704500300810
Firmware Version: SWI9X15Y_07.13.07.00 92cfd2c jenkins 2018/08/22 19:18:52
Bootloader Version: SWI9X15Y_07.13.07.00 92cfd2c jenkins 2018/08/22 19:18:39
MCU Version: 002.004
PRI Part Number (PN): 9905317
PRI Revision: 01.06
Carrier PRI Name: GENERIC
Carrier PRI Revision: 001.040_000
SKU: 1102734
Last Reset Cause: Unknown
Resets Count: Expected: 0 Unexpected: 0
log:
Oct 22 06:16:23 | modemDemo[1710]/demoComponent T=main | demo.c _demoComponent_COMPONENT_INIT() 995 | Running modemDemo
Oct 22 06:16:23 | modemDemo[1710]/demoComponent T=main | demo.c _demoComponent_COMPONENT_INIT() 997 | time01:1540188983
Oct 22 06:16:23 | modemDemo[1710]/demoComponent T=main | demo.c GoOnline() 315 | Requesting the default data connection: 0x10000001.
Oct 22 06:16:23 | dcsDaemon[753]/dcsDaemon T=main | dcsServer.c TryStartTechSession() 1517 | Device is attached, ready to start a data session
Oct 22 06:16:24 | avcDaemon[1046]/avcDaemon T=main | assetData.c RegUpdateTimerHandler() 3262 | RegUpdate timer expired; reporting REG_UPDATE
Oct 22 06:16:24 | avcDaemon[1046]/avcDaemon T=main | assetData.c assetData_RegistrationUpdate() 1946 | unsupported function called.
Oct 22 06:16:26 | dcsDaemon[753]/le_pa_dcs T=main | pa_dcs_linux.c AddNameserversToResolvConf() 310 | Set DNS ‘120.80.80.80’ ‘221.5.88.88’
Oct 22 06:16:26 | dcsDaemon[753]/dcsDaemon T=main | dcsServer.c SetDefaultRouteAndDns() 1318 | DNS configuration is set successfully
Oct 22 06:16:31 | modemDemo[1710]/demoComponent T=main | demo.c ConnectionStateHandler() 942 | Connection State Event: ‘rmnet0’ connected
Oct 22 06:16:31 | modemDemo[1710]/demoComponent T=main | demo.c ConnectionStateHandler() 955 | time02:1540188991
Oct 22 06:16:31 | modemDemo[1710]/demoComponent T=main | demo.c ConnectionStateHandler() 956 | -----------------cost:8 seconds
Oct 22 06:16:31 | modemDemo[1710]/demoComponent T=main | demo.c ConnectionStateHandler() 957 | Data connection: connected.

Hello @zx_310, what’s new about your problem?