# Cannot use le\_cellnet.api

**URL:** <https://forum.legato.io/t/cannot-use-le-cellnet-api/6495>\
**Category:** Legato Application Framework\
**Created:** [April 28, 2023, 12:52pm UTC](https://forum.legato.io/t/cannot-use-le-cellnet-api/6495 "2023-04-28T12:52:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@ash](https://forum.legato.io/u/ash)\
**Post date:** [April 28, 2023, 12:52pm UTC](https://forum.legato.io/t/cannot-use-le-cellnet-api/6495/1 "2023-04-28T12:52:41Z")

</div>

Hi,

I’m using `Legato 19.11.6` and trying to use the Cellular Network api:

`leaf-workspace:`

```auto
{
    "leafMinVersion": "2.4.0",
    "profiles": {
        "wp76stable": {
            "packages": {
                "swi-wp76": "5.0.6"
            }
        }
    }
}

```

`client.adef:`

```auto
executables:
{
	clientExe = ( clientComponent )
}

processes:
{
	run:
	{
		( clientExe )
	}
}

bindings:
{
    clientExe.clientComponent.le_cellnet -> cellNetService.le_cellnet
}

```

but I’m getting the following `error:`

```auto
(lsh:wp76stable) mangoh@mangoh-dev:~/Desktop/workspace$ mkapp -t wp76xx client/client.adef 
** ERROR:
/home/mangoh/Desktop/workspace/client/clientComponent/Component.cdef:10:8: error: Can't find dependent .api file: 'le_sim.api'.

```

in this test application I’m not using `le_sim.api` so I find it strange to get such an error.  
can anyone help me with this?

thanks!

---

<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:** [April 28, 2023, 2:55pm UTC](https://forum.legato.io/t/cannot-use-le-cellnet-api/6495/2 "2023-04-28T14:55:38Z")

</div>

The cdef file is calling this .api file

You can also see here

> [@Leaf and mkapp and legato system .api files](https://forum.legato.io/t/leaf-and-mkapp-and-legato-system-api-files/4734):
>
> I would like to use the mkapp tool to reduce the app development time overhead of running mksys I’m using leaf with mksys this is working fine to build a working system But when I try to (lsh:currentWp76) john@john-VirtualBox-ST:~/WP76$ mkapp ./apps/wan/wan.adef \*\* ERROR: /home/john/WP76/apps/wan/wanComponent/Component.cdef:6:8: error: Can't find dependent .api file: 'le\_mdc.api'. Component.cdef is like this requires: { api: { le\_data.api le\_cfg.api modemServices…
