# Legato sample app modemDemo

**URL:** <https://mangoh.discourse.group/t/legato-sample-app-modemdemo/136>\
**Category:** mangOH Green\
**Created:** [July 4, 2016, 7:24pm UTC](https://mangoh.discourse.group/t/legato-sample-app-modemdemo/136 "2016-07-04T19:24:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hui\_s](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hui\_s](https://mangoh.discourse.group/u/hui_s)\
**Post date:** [July 4, 2016, 7:24pm UTC](https://mangoh.discourse.group/t/legato-sample-app-modemdemo/136/1 "2016-07-04T19:24:28Z")

</div>

Under Legao framework, there is a sample app called “modemDemo”. I have a question regarding the .cdef files there for both demoComponent and sendComponment.

.cdef for sendComponent requires send\_util.api while modemComponent provides send\_util.api.

I can’t find such send\_util.api exist somewhere. Please help me understand what it is and how it is created.

Thanks!

Hui

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [July 6, 2016, 12:07am UTC](https://mangoh.discourse.group/t/legato-sample-app-modemdemo/136/2 "2016-07-06T00:07:49Z")

</div>

Hi Hui,  
the api file is here:

> **[legatoproject/legato-af](https://github.com/legatoproject/legato-af/tree/master/apps/sample/modemDemo)**
>
> Legato Application Framework. Contribute to legatoproject/legato-af development by creating an account on GitHub.

  
if you look at the send\_util.api provides couple of APIs’ that can be used in the modem demo.  
when the code is built by Legato, the corresponding .h and .c files for the send\_util.api file are in a subfolder of that project.  
Let us know if you need more info.  
cheers,  
Ashish

---

<div class="post-metadata">

**Author:** ![hui\_s](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hui\_s](https://mangoh.discourse.group/u/hui_s)\
**Post date:** [July 7, 2016, 3:54am UTC](https://mangoh.discourse.group/t/legato-sample-app-modemdemo/136/3 "2016-07-07T03:54:02Z")

</div>

Thanks for your explanation!

Hui

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [March 6, 2017, 5:24am UTC](https://mangoh.discourse.group/t/legato-sample-app-modemdemo/136/4 "2017-03-06T05:24:52Z")

</div>


