summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--conf.d/wgt/config.xml.in4
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index b9c5ff0..2e6bad9 100644
--- a/README.md
+++ b/README.md
@@ -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>