Link Search Menu Expand Document

Nibble Extract

Jul 19 2024 at 12:00 AM

  1. Overview
  2. Installation
  3. Example Options File
  4. Property Details

Overview

This function extracts the value of a specific nibble from the input value.

Installation

The required NuGet Package for this function is: IoTnxt.Raptor.TransformManager

    .AddRaptorTransformManager("TransformSets", (services, configuration, builder) =>
    {
        builder.AddDefaultTransformationFunctions(services);
    })

Example Options File

{
  "TransformSets": {
    "Nibble1": [
      {
        "FunctionType": "NibbleExtract",
        "NibbleNumber": 1
      }
    ],
  } 
}

Property Details

Property NameDescription
FunctionTypeThe value for this function is “NibbleExtract”.
EnabledSets whether this Transform Function is enabled. Defaults to true.
NibbleNumberA number from 1-16, indicating which nibble should be extracted from the value.