Sending file over mqtt using mqttClient-for-Legato

which one cannot be built?

this

what is the problem with datahub?
what is the problem in leaf?

it require data hub api ,those are interconnected

what is the problem with data hub api??
Which application has problem to build in leaf environment? mqttCLI?

this is can’t build in leaf

there are serveral application inside
Which application has problem to build in leaf environment? mqttCLI?

mqttCLI I want use if i want use that means it need mqttClientApi i installed that but it is not running

what do you mean mqttClientApi is not running?

what is the problem with data hub api on the following app??

i tried for this itis not working

Why?
Did you start debugging?

in that
bindings:
{
testPublisher.testPublisher.mqtt → mqttClient.mqtt
testPublisher.testPublisher.le_info → modemService.le_info
testPublisher.testPublisher.iodataHub.io
testPublisher.testPublisher.query → dataHub.query
testPublisher.testPublisher.admin → dataHub.admin
}
here what about dataHub.query,dataHub.admin

and in mqttsubcriber.adef
bindings:
{
testSubscriber.testSubscriber.mqtt → mqttClient.mqtt
testSubscriber.testSubscriber.le_info → modemService.le_info
}
where should i grt mqttClient.mqtt
and hoe can i set it

How about this?

i wiil try and get back to you

(lsh:wp76stable) nayan@nayan:~/myworkspace/legato-af$ mksys -t wp76xx apps/sample/mqtt/mqttSample.sdef
** ERROR:
/home/nayan/myworkspace/leaf-data/wp76stable/mangOH-yellow-wp76xx-legato/apps/sample/mqtt/mqttPublisher.adef:23:4: error: Binding to non-existent server app ‘dataHub’.

i have not mentioned any datahub but it is showing like this

There is not such binding …

yes i know but i don’t know why it is comming like that

sandboxed: true
start: manual

executables:
{
testPublisher = (testPublisher)
}

processes:
{
run:
{
(testPublisher)
}

faultAction: restart

}

bindings:
{
testPublisher.testPublisher.mqtt → mqttClient.mqtt
testPublisher.testPublisher.le_info → modemService.le_info
}

what shall i do sir,is there any otherway

No idea, probably you are compiling the wrong project