X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2F3-Usage.md;h=c9cf1bf4cf35d6e37a059619ab36adb488180da9;hb=6c624071b9f1896a02c3e9c7cd31cfd81e059ab6;hp=e122adcbe6b70edfd018d69c5c7ecca016c0cb2f;hpb=6d0d543254a1527d4a61c517f93fbe8f636c6ac7;p=apps%2Fagl-service-can-low-level.git diff --git a/docs/3-Usage.md b/docs/3-Usage.md index e122adcb..c9cf1bf4 100644 --- a/docs/3-Usage.md +++ b/docs/3-Usage.md @@ -121,7 +121,7 @@ hs="can1" You can run the binding using **afm-util** tool, here is the classic way to go : ```bash -afm-util run low-can-service@2.0 +afm-util run low-can-service@4.0 1 ``` @@ -129,17 +129,17 @@ You can find instructions to use afm-util tool [here](http://docs.iot.bzh/docs/a But you can't control nor interact with it because you don't know security token that **Application Framework** gaves it at launch. -So, to test it, it is better to launch the binding manually. In the following example, we will use port **1234** and left empty security token for testing purpose: +So, to test it, it is better to launch the binding manually. In the following example, it will use port **1234** and left empty security token for testing purpose: ```bash -afb-daemon --ldpaths=/usr/lib/afb:/var/lib/afm/applications/low-can-service/2.0/lib/ --rootdir=/var/lib/afm/applications/low-can-service/2.0/ --port=1234 --token=1 +afb-daemon --binding=/var/lib/afm/applications/low-can-service/4.0/lib/afb-low-can.so --rootdir=/var/lib/afm/applications/low-can-service/4.0/ --port=1234 --token=1 NOTICE: binding [/usr/lib/afb/afb-dbus-binding.so] calling registering function afbBindingV1Register NOTICE: binding /usr/lib/afb/afb-dbus-binding.so loaded with API prefix dbus NOTICE: binding [/usr/lib/afb/authLogin.so] calling registering function afbBindingV1Register NOTICE: binding /usr/lib/afb/authLogin.so loaded with API prefix auth -NOTICE: binding [/var/lib/afm/applications/low-can-service/2.0/libs//low-can-binding.so] calling registering function afbBindingV1Register -NOTICE: binding /var/lib/afm/applications/low-can-service/2.0/libs//low-can-binding.so loaded with API prefix low-can -NOTICE: Waiting port=1234 rootdir=/var/lib/afm/applications/low-can-service/2.0/ +NOTICE: binding [/var/lib/afm/applications/low-can-service/4.0/libs//low-can-binding.so] calling registering function afbBindingV1Register +NOTICE: binding /var/lib/afm/applications/low-can-service/4.0/libs//low-can-binding.so loaded with API prefix low-can +NOTICE: Waiting port=1234 rootdir=/var/lib/afm/applications/low-can-service/4.0/ NOTICE: Browser URL= http:/*localhost:1234 ```