Failed to send commands and apply setting to device


#1

Hello all,

I’m trying to get this app to run properly: https://github.com/legatoproject/legato-af/tree/18.01.0/apps/sample/assetData

I’m running it in a WP7702 via 2G (in case this info is important)

I’m able to receive data from the mangOH, although I cannot send commands nor apply settings.

I don’t know how to use the air vantage API, then I’m using the GUI and creating my application model.

The first issue was that I couldn’t make the package, when I try using “av-pack” I get the message: “av-pack: command not found”

So I tried to do the application model manually. Although I was able to create it, I can’t send commands nor apply settings.

This is my application model:

and this is the log:

info Legato: INFO | avcDaemon[670]/avcDaemon T=main | avData.c AvServerRequestHandler() 2402 | >>>>> Request Uri is: [/home1/room1/AC/ACControl]
err Legato: =ERR= | avcDaemon[670]/avcDaemon T=main | avData.c ProcessAvServerExecRequest() 2361 | Server attempts to execute a command but the asset data doesn’t exist
info Legato: INFO | avcDaemon[670]/avcDaemon T=main | avData.c AvServerRequestHandler() 2402 | >>>>> Request Uri is: [/home1/room1/AC/ACControl]
err Legato: =ERR= | avcDaemon[670]/avcDaemon T=main | avData.c ProcessAvServerExecRequest() 2361 | Server attempts to execute a command but the asset data doesn’t exist

Can anyone help me please? I have no idea where I’m getting it wrong.

Thank you


#2

I have the same problem (also on wp7702-g). Can somebody help?