Here is my example on helloworld sample:
in hello1.adef, add
bindings:
{
hello1.hello1Component.le_avc → avcService.le_avc
}
in Component.cdef, add
requires:
{
api:
{
le_avc.api
}
}
-
leaf shell
(lsh:swi-wp76_4.7.0) owner@ubuntu:~/leaf/apps/Demo/hello1$ mkapp ${LEGATO_DEF_FILE} -s components -t ${LEGATO_TARGET} -w ${LEGATO_OBJECT_DIR} -o ${LEGATO_OUTPUT_DIR} -i ${LEGATO_ROOT}/interfaces/airVantage