diff options
Diffstat (limited to 'en/devices/architecture/hidl-cpp/index.html')
-rw-r--r-- | en/devices/architecture/hidl-cpp/index.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/en/devices/architecture/hidl-cpp/index.html b/en/devices/architecture/hidl-cpp/index.html index f42d8f8a..7d8466cb 100644 --- a/en/devices/architecture/hidl-cpp/index.html +++ b/en/devices/architecture/hidl-cpp/index.html @@ -92,11 +92,13 @@ hidl-gen -o $LOC -Landroidbp-impl -randroid.hardware:hardware/interfaces \ <p>For the HAL to work in passthrough mode (for legacy devices), you must have the function <em>HIDL_FETCH_IModuleName</em> residing in -<code>/system/lib(64)?/hw/android.hardware.package@3.0-impl(-$OPTIONAL_IDENTIFIER).so</code> +<code>/system/lib(64)?/hw/android.hardware.package@3.0-impl($OPTIONAL_IDENTIFIER).so</code> where <code>$OPTIONAL_IDENTIFIER</code> is a string identifying the passthrough implementation. The passthrough mode requirements are met automatically by the above commands, which also create the <code>android.hardware.nfc@1.0-impl</code> -target.</p> +target, but any extension can be used. For instance +<code>android.hardware.nfc@1.0-impl-foo</code> uses <code>-foo</code> to +differentiate itself.</p> <p>Next, fill out the stubs with functionality and setup a daemon. Example daemon code (supporting passthrough):</p> |