From 71263838ac1b62e65cf65b5e7e9105b69f71bcd5 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 22 Mar 2017 08:29:24 +0000 Subject: Specification of defaults available decoder. Change-Id: Ifde336309bd6358ee20bd8c45a06daf5ba3329c0 Signed-off-by: Romain Forlot --- docs/2-Installation.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/2-Installation.md b/docs/2-Installation.md index 410bc4b..252f8b3 100644 --- a/docs/2-Installation.md +++ b/docs/2-Installation.md @@ -94,6 +94,14 @@ engine.torque > > This described in the below chapter. +### Available decoder + +You can use some basic decoder provided by default by the binding which are: + +* decoder_t::noopDecoder : Default decoder if not specified, return raw value from signal's bitfield. +* decoder_t::booleanDecoder : Coerces a numerical value to a boolean. +* decoder_t::stateDecoder : Find and return the corresponding string state for a CAN signal's raw integer value. + ### Generating JSON from Vector CANoe Database > **CAUTION** This chapter has not been tested since we haven't necessary automotive tools for that. -- cgit 1.2.3-korg