# RD\_SET\_CALI\_BY\_INDEX via RADIO, Command 3D

OUT

| 0B | 11 | 3D | GRP | ID | ID TO | CRC | S Index | CAL0 | CAL1 | CRC |
| -- | -- | -- | --- | -- | ----- | --- | ------- | ---- | ---- | --- |

IN

| 0B | 10 | 4D | GRP | ID | ID TO | CRC | S Index | CAL0 | CAL1 | CRC |
| -- | -- | -- | --- | -- | ----- | --- | ------- | ---- | ---- | --- |

This command will set the calibration value for the specific value pointed to by Index via RADIO. This information will be stores in virtual EEPROM in the node. The PC handles the calculations.

## For I/O-board node <a href="#toc97358851" id="toc97358851"></a>

The calibration-value is treated as a 16-bit signed value (2-komplement) that is added or subtracted by the PC. Example: The analog value is read as 3418mV but should be 3300mV, -> calibration value $FF8A (-118 decimal).

## &#x20;For non-I/O-board nodes

The calculation from the PC is done like this:

* If the calibration value is 1.81, then the value is split up in two different bytes and stored as 1\[CAL0] and 81\[CAL1].
* If it was –1.81, then the value is split up in two and the individual bytes are 2-complemented (byte=value XOR $FF +1). The individual bytes are then stored 255\[CAL0] and 175\[CAL1].

All data is stored in decimal value.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.boomerang3.com/s2-radio-system-manual/s2-system-description/s2-node/s2-communication-protocol/s2-commands-details/rd_set_cali_by_index-via-radio-command-3d.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
