Forum

Example Native Service

Tried to run the luna command after building the sample native service . Could someone please direct me as to why this error and any possible way to fix it ?

root@raspberrypi4:/var/rootdirs/home/root# luna-send -n 1 -f luna://com.example.service.native/hello '{}'
{
"errorCode": -1,
"returnValue": false,
"errorText": "Service does not exist: com.example.service.native."
}

@lm08 , the image does not come with the native service installed.
Please build the native service as instructed during the sessions.
Once installed, run "ls-control scan-services" and then try running the above (luna-send) command.

@lm08 , If you are still getting same error try adding .
"trustLevel":"oem"

in the role.in file located in files/sysbus/