# RedSensorToCloud broken in Legato AF 17.10.0

**URL:** <https://mangoh.discourse.group/t/redsensortocloud-broken-in-legato-af-17-10-0/1020>\
**Category:** mangOH Red\
**Created:** [December 22, 2017, 8:40am UTC](https://mangoh.discourse.group/t/redsensortocloud-broken-in-legato-af-17-10-0/1020 "2017-12-22T08:40:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamid](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mohamid](https://mangoh.discourse.group/u/mohamid)\
**Post date:** [December 22, 2017, 8:40am UTC](https://mangoh.discourse.group/t/redsensortocloud-broken-in-legato-af-17-10-0/1020/1 "2017-12-22T08:40:04Z")

</div>

Hi I needed to update my Legato AF to the latest to get my project working. While the project is working with another cloud platform, I wanted to validate some of the data at the Airvantage Platform. The last that I tested RedSensorToCloud was with Legato AF 17.07.02 which built and loaded on the board without any issues and I was getting data at the AV. with 17.10.0

The terminal output below:  
mangoh@mangoh-virtualbox:~/mangOH/apps/RedSensorToCloud$ ls  
avPublisherComponent \_build\_RedSensorToCloud \_build\_redSensorToCloud LICENSE.txt [README.md](http://README.md) redSensorToCloud.adef sensorsComponent  
mangoh@mangoh-virtualbox:~/mangOH/apps/RedSensorToCloud$ mkapp -t wp85 redSensorToCloud.adef  
\*\* ERROR:  
/home/mangoh/mangOH/apps/RedSensorToCloud/sensorsComponent/Component.cdef:11:8: error: Couldn’t find file 'le\_adc.api.'  
mangoh@mangoh-virtualbox:~/mangOH/apps/RedSensorToCloud$

am I missing or domeing something wrong? I tried the same on the 17.07.02 backup directory and its the same. I am using the latest mangOH release from github. I don’t want to go back to 17.07.02 as my application dataconnectionservice le\_data api doesn’t run with it.

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [December 22, 2017, 7:46pm UTC](https://mangoh.discourse.group/t/redsensortocloud-broken-in-legato-af-17-10-0/1020/2 "2017-12-22T19:46:39Z")

</div>

The issue was that `sensorsComponent/Component.cdef` requires `le_adc.api`, but `mkapp` didn’t know where to find it. When you’re building a system, `mksys` knows how to find it because of the `interfaceSearch` lines that are present in the `default.sdef` in the Legato source tree.

I have changed the `Component.cdef` to require `modemServices/le_adc.api` so that it can be found when building using mkapp.

The RedSensorToCloud commit is: 03c938fe4013c680f851e44ae193dd2134c02b1b  
The top-level commit that references it is: 3d6c0db735c97fcef067e517c956aed6b064d86c

---

<div class="post-metadata">

**Author:** ![Francis.duhaut](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/francis.duhaut/32/350_2.png) [@Francis.duhaut](https://mangoh.discourse.group/u/Francis.duhaut)\
**Post date:** [December 24, 2017, 10:22am UTC](https://mangoh.discourse.group/t/redsensortocloud-broken-in-legato-af-17-10-0/1020/3 "2017-12-24T10:22:43Z")

</div>

Move to legato 17.11.0.
