# Command line connection works, but le\_data does not in application

**URL:** <https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256>\
**Category:** Legato Application Framework\
**Created:** [June 17, 2020, 8:04pm UTC](https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256 "2020-06-17T20:04:42Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [June 22, 2020, 4:30am UTC](https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256/13 "2020-06-22T04:30:13Z")

</div>

I don’t see problem with my module here:

root@swi-mdm9x28-wp:~# app runProc modemDemo1 send --exe=send – 1234567 “Sim”  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# cat /legato/systems/current/appsWriteable/modemDemo1/smsC  
hat.txt

## SIM 1 is inserted and unlocked. ICCID=8985200012741552068 IMSI=454003074155206

root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# app runProc modemDemo1 send --exe=send – 1234567 "Online  
"  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# cat /legato/systems/current/appsWriteable/modemDemo1/smsC  
hat.txt

## SIM 1 is inserted and unlocked. ICCID=8985200012741552068 IMSI=454003074155206

## Requesting data connection.

root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# cm data  
Index: 1  
APN: hkcsl  
PDP Type: IPV4V6  
Connected: yes  
Interface: rmnet\_data0  
Family[IPv4]: inet  
IP[IPv4]: 10.179.184.52  
Gateway[IPv4]: 10.179.184.53  
Dns1[IPv4]: 10.144.148.1  
Dns2[IPv4]: 10.145.148.5  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# ping [www.google.com](http://www.google.com)  
PING [www.google.com](http://www.google.com) (216.58.199.4): 56 data bytes  
64 bytes from 216.58.199.4: seq=0 ttl=58 time=27.470 ms  
64 bytes from 216.58.199.4: seq=1 ttl=58 time=51.416 ms  
^C  
— [www.google.com](http://www.google.com) ping statistics —  
2 packets transmitted, 2 packets received, 0% packet loss  
round-trip min/avg/max = 27.470/39.443/51.416 ms  
root@swi-mdm9x28-wp:~# cm info  
Device: WP7607  
IMEI: 359779081234565  
IMEISV: 6  
FSN: [580.328907] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv\_addr:0x3a MSTR\_STS:0x0c1300c8 OPER:0x00000090  
VN730485080103  
Firmware Version: SWI9X07Y\_02.28[580.348571] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv\_addr:0x3a MSTR\_STS:0x0c1300c8 OPER:0x00000090  
.03.03 000000 jenkins 2019/05/21 03:33:04  
Bootloader Version: SWI9X07Y\_02.28.03.03 000000 jenkins 2019/05/21 03:33:04  
MCU Version: 002.011  
PRI Part Number (PN): 9908958  
PRI Revision: 001.000  
Carrier PRI Name: GENERIC  
Carrier PRI Revision: 002.068\_000  
SKU: 1104301  
Last Reset Cause: Power Down  
Resets Count: Expected: 192 Unexpected: 15  
root@swi-mdm9x28-wp:~# ip r  
default via 10.179.184.53 dev rmnet\_data0  
10.179.184.48/29 dev rmnet\_data0 proto kernel scope link src 10.179.184.52  
192.168.2.0/24 dev ecm0 proto kernel scope link src 192.168.2.2  
192.168.225.0/24 dev bridge0 proto kernel scope link src 192.168.225.1

---

_[View the full topic](https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256)._
