# CO2 Measurement period

### S**et** CO2 Measurement period&#x20;

The command is described in Table 21.

| **Byte index** | **Hex Value** | **Meaning**                                                                       |
| -------------- | ------------- | --------------------------------------------------------------------------------- |
| 0              | 24            | The command code.                                                                 |
| 1              | 0A            | 0x0A = 10 minutes. Used until the measured CO2 levels are inside the good zone.   |
| 2              | 0A            | 0x0A = 10 minutes. Used until the measured CO2 levels are inside the medium zone. |
| 3              | 0A            | 0x0A = 10 minutes. Used until the measured CO2 levels are inside the bad zone.    |

*Table 21*

{% hint style="info" %}
Payload values in the example are default for the device.
{% endhint %}

**Example command:** 0x240A0A0A – The server sets CO2 measurement period.

### **Get** CO2 Measurement period&#x20;

| **Byte index** | **Sent request**   | **Received response**                                                             |
| -------------- | ------------------ | --------------------------------------------------------------------------------- |
| 0              | 25 – Command code. | 25 – The command code.                                                            |
| 1              |                    | 0x0A = 10 minutes. Used until the measured CO2 levels are inside the good zone.   |
| 2              |                    | 0x0A = 10 minutes. Used until the measured CO2 levels are inside the medium zone. |
| 3              |                    | 0x0A = 10 minutes. Used until the measured CO2 levels are inside the bad zone.    |

*Table 22*

**Example command sent from server:** 0x25;

**Example command response:** 0x250A0A0A =>  CO2 Measurement period is 10 minutes inside the good, medium and bad zone.


---

# 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://docs.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-co2-sensor-and-notifier-lorawan/co2-sensor-lorawan-device-communication-protocol/co2-measurement-period.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.
