> For the complete documentation index, see [llms.txt](https://docs.mclimate.eu/mclimate-lorawan-devices/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/commands-cheat-sheet.md).

# Commands cheat sheet

A nice cheat sheet for those who are already familiar with the communication protocol of the device.​

<table data-header-hidden><thead><tr><th width="132"></th><th width="108"></th><th width="395"></th><th></th></tr></thead><tbody><tr><td><strong>Command code, [hex]</strong></td><td><strong>Firmware version</strong></td><td><strong>Command name</strong></td><td><strong>Sent by</strong></td></tr><tr><td>01</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/keep-alive.md">Keep-Alive</a></td><td>End device</td></tr><tr><td>02</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/keep-alive.md#set">Set keep-alive period</a></td><td>Server</td></tr><tr><td>04</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/get-firmware-and-hardware-version.md">Read device hardware and software version</a></td><td>Server/ End device</td></tr><tr><td>10</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/network-related-settings.md#set">Set network join retry period</a></td><td>Server</td></tr><tr><td>11</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/uplink-types.md#set">Set uplink messages type</a></td><td>Server</td></tr><tr><td>12</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/keep-alive.md#get">Get keep-alive period</a></td><td>Server/ End device</td></tr><tr><td>19</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/network-related-settings.md#get">Get network join retry period</a></td><td>Server/ End device</td></tr><tr><td>1B</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/uplink-types.md#get">Get uplink messages type</a></td><td>Server/ End device</td></tr><tr><td>1C</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/network-related-settings.md#set-1">Set device radio communication watch-dog parameters</a></td><td>Server</td></tr><tr><td>1D</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/network-related-settings.md#get-1">Get device radio communication watch-dog parameters</a></td><td>Server/ End device</td></tr><tr><td>1E</td><td>All</td><td>​<a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/overheating-protection.md#set">Set overheating threshold​s</a></td><td>Server</td></tr><tr><td>1F</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/overheating-protection.md#get">​Get overheating threshold​s</a></td><td>Server/ End device</td></tr><tr><td>54</td><td>≥1.1</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#relay-state-change-reason">Get relay state change reason</a></td><td>Server/ End device</td></tr><tr><td>55</td><td>≥1.1</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#set-2">Set relay timer in milliseconds</a></td><td>Server</td></tr><tr><td>56</td><td>≥1.1</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#get-2">Get relay timer in milliseconds</a></td><td>Server/ End device</td></tr><tr><td>57</td><td>≥1.1</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#set-3">Set relay timer in seconds</a></td><td>Server</td></tr><tr><td>58</td><td>≥1.1</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#get-3">Get relay timer in seconds</a></td><td>Server/ End device</td></tr><tr><td>59</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#set-2">Set relay state after overheating recovery</a></td><td>Server</td></tr><tr><td>5A</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#get-2">Get relay state after overheating recovery</a></td><td>Server/ End device</td></tr><tr><td>5B</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/led-indication-mode.md#set">Set LED indication mode</a></td><td>Server</td></tr><tr><td>5C</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/led-indication-mode.md#get">Get LED indication mode</a></td><td>Server/ End device</td></tr><tr><td>5D</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#manual-relay-state-change">Manual relay state change</a></td><td>End device</td></tr><tr><td>5E</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#set-1">Set relay state after return of power supply</a></td><td>Server</td></tr><tr><td>5F</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#get-1">Get relay state after return of power supply</a></td><td>Server/ End device</td></tr><tr><td>60</td><td>All</td><td>​<a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/overheating-protection.md#get-1">Get overheating event parameters​</a></td><td>Server/ End device</td></tr><tr><td>70</td><td>All</td><td>​<a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/overheating-protection.md#overheating-recovery-event">Get overheating recovery event parameters</a></td><td>Server/ End device</td></tr><tr><td>A4</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/network-related-settings.md#get-lorawan-region">Get LoRaWAN Region</a></td><td>Server/ End device</td></tr><tr><td>A5</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/restart-device.md">Restart device</a></td><td>Server</td></tr><tr><td>B1</td><td>All</td><td>​<a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#get">Get relay state​</a></td><td>Server/ End device</td></tr><tr><td>C1</td><td>All</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#set">​Set relay state</a>​</td><td>Server</td></tr><tr><td>D0</td><td>≥1.2</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/device-to-device-communication-d2d.md#set">Set D2D device credentials</a></td><td>Server</td></tr><tr><td>D1</td><td>≥1.2</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/device-to-device-communication-d2d.md#get">Get D2D device credentials</a></td><td>Server/ End device</td></tr><tr><td>D2</td><td>≥1.2</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/device-to-device-communication-d2d.md#remove-all-stored-d2d-credentials">Remove all stored D2D credentials</a></td><td>Server</td></tr><tr><td>D3</td><td>≥1.2</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/device-to-device-communication-d2d.md#get-d2d-radio-settings">Get D2D radio settings</a></td><td>Server/ End device</td></tr><tr><td>F1</td><td>≥1.2</td><td><a href="/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/relay-state.md#flip-relay-state">Flip relay state</a></td><td>Server</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-16a-dry-switch-16ads/mclimate-16ads-device-communication-protocol/commands-cheat-sheet.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
