From: Christopher Peplin Date: Fri, 28 Feb 2014 19:48:36 +0000 (-0500) Subject: Add details about updating diag requests. X-Git-Tag: 5.0.2~275^2~33 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=fba381d2003787a719252400487d3e6b9f2d1fdb;p=apps%2Fagl-service-can-low-level.git Add details about updating diag requests. --- diff --git a/README.md b/README.md index a10fe88b..2be7c10c 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,11 @@ with this command format: **frequency** - (optional, defaults to 0) The frequency in Hz to send this request. To send a single request, set this to 0 or leave it out. +The `bus+id+mode+pid` key is unique, so if you send a create request with that +key twice, it'll overwrite the existing one (i.e. it will change the frequency, +the only other parameter). To cancel a recurring request, send this command with +the frequency set to 0. + TODO it'd be nice to have the OBD-II PIDs built in, with the proper conversion functions - that may need a different output format