diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | conf.d/wgt/config.xml.in | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -96,7 +96,7 @@ ssh root@${YOUR_BOARD_IP} afm-util start ${APP_NAME}@${APP_VERSION} ```bash export YOUR_BOARD_IP=192.168.1.X export PORT=8000 -ssh root@${YOUR_BOARD_IP} afb-daemon --ws-client=unix:/run/user/0/apis/ws/helloworld --port=${PORT} --token='x' -v +ssh root@${YOUR_BOARD_IP} afb-daemon --ws-client=unix:/run/platform/apis/ws/helloworld --port=${PORT} --token='x' -v #On an other terminal ssh root@${YOUR_BOARD_IP} afb-client-demo -H 127.0.0.1:${PORT}/api?token=x helloworld ping true diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in index 69aaaae..1d5e221 100644 --- a/conf.d/wgt/config.xml.in +++ b/conf.d/wgt/config.xml.in @@ -11,8 +11,10 @@ </feature> <feature name="urn:AGL:widget:provided-api"> <param name="helloworld" value="ws" /> + <param name="helloworld-event" value="ws" /> </feature> - <feature name="urn:AGL:widget:required-api"> + <feature name="urn:AGL:widget:required-binding"> <param name="lib/afb-helloworld-skeleton.so" value="local" /> + <param name="lib/afb-helloworld-subscribe-event.so" value="local" /> </feature> </widget> |