X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2F3-Usage.md;h=bc38417d521f35def6a45a26bd450b0cf513bfee;hb=c5b97727b2400a4d7af33de33451b16e92e84e75;hp=479dd51e753cc2554f010eab1a8441a42ccc14c2;hpb=cfe2298c30237186eb71c52f4105eb8534560e44;p=apps%2Fagl-service-can-low-level.git diff --git a/docs/3-Usage.md b/docs/3-Usage.md index 479dd51e..bc38417d 100644 --- a/docs/3-Usage.md +++ b/docs/3-Usage.md @@ -99,7 +99,7 @@ The binding reads system configuration file _/etc/dev-mapping.conf_ at start to map logical name from signals described in JSON file to linux devices name initialized by the system. -Edit file _/etc/dev-mappping.conf_ and add mapping in section `CANbus-mapping`. +Edit file _/etc/dev-mapping.conf_ and add mapping in section `CANbus-mapping`. Default binding configuration use a CAN bus named `hs` so you need to map it to the real one, here are some examples: @@ -141,7 +141,7 @@ afm-util run low-can-service@4.0 ``` You can find instructions to use afm-util tool -[here](http://docs.iot.bzh/docs/apis_services/en/dev/reference/af-main/afm-daemons.html#using-afm-util), +[here](http://docs.automotivelinux.org/master/docs/apis_services/en/dev/reference/af-main/1-afm-daemons.html#using-afm-util), as well as documentation about Application Framework. But you can't control nor interact with it because you don't know security @@ -311,7 +311,7 @@ Examples: low-can write { "bus_name": "hs", "frame": { "can_id": 1568, "can_dlc": 8, "can_data": [ 255,255,255,255,255,255,255,255]} } # Write a signal's value. -low-can write { "signal_name": "engine.speed", "value": 1256} +low-can write { "signal_name": "engine.speed", "signal_value": 1256} ``` To be able to use write capability, you need to add the permission