X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2F3-Usage.md;h=3cfcd09910c43b00d028aa11460da32bf78e916d;hb=7c5d80deacad2a1f6943dd0b77449c3f6e20fdfc;hp=317e072424758b14bf630a5582542785c7138567;hpb=03fc96a9671d5739264f2208bfe2475641502164;p=apps%2Fagl-service-can-low-level.git diff --git a/docs/3-Usage.md b/docs/3-Usage.md index 317e0724..3cfcd099 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: @@ -315,7 +315,7 @@ low-can write { "signal_name": "engine.speed", "value": 1256} ``` To be able to use write capability, you need to add the permission - ```urn:AGL:permission:low-can:platform:write``` to your package configuration + ```urn:AGL:permission::platform:can:write``` to your package configuration file that need to write on CAN bus through **low-can** api. Then in order to write on bus, your app needs to call verb **auth**