Bluetooth WL18xx driver for mangOH: how to flash the driver

Hi,

thanks for looking into this.

I tried to compile BleSensorInterface but I got the following error:
$ make
mkapp -t wp85 bleSensorInterface.adef
** ERROR:
/home/acal/test_bluetooth/Demos-74a620c30e78d56f0e38d1d752cd829df963a112/BleSensorInterface/bleSensorInterface/Component.cdef:17:8: error: Couldn’t find file 'dataRouter.api.'
Makefile:4: recipe for target ‘all’ failed
make: *** [all] Error 1

It fails in the Component.cdef file here:
requires:
{
api:
{
dataRouter.api
le_cfg.api
}
}

I located the file dataRouter.api in my mangoh directory:
$MANGOH_ROOT/apps/DataRouter/dataRouter.api

So, I modified the Component.cdef accordingly
requires:
{
api:
{
$MANGOH_ROOT/apps/DataRouter/dataRouter.api
le_cfg.api
}
}

but it still fails:
mkapp -t wp85 bleSensorInterface.adef
** ERROR:
/home/acal/test_bluetooth/Demos-74a620c30e78d56f0e38d1d752cd829df963a112/BleSensorInterface/bleSensorInterface/Component.cdef:19:2: error: Couldn’t find file '…/…/…//apps/DataRouter/dataRouter.api.'
Makefile:4: recipe for target ‘all’ failed
make: *** [all] Error 1

I’m sure there is a better way.
Is there any environment variable I need to set?

thanks
BR
Luigi