# Device Simulation Events (Channel 4)

The channel 4 is used by the device to send commands/events to the connected simulation.\
Request: `4,<SIMNAME:EVENTNAME>[,<Value Default=0>[,<Value2>];`\
Reply: none

`<SIMNAME:EVENTNAME>` is the event to send to the simulation. e.g. SIMCONNECT:FLAPS\_UP. The "SIMNAME:" part can be omitted, then SIMCONNECT: is assumed.\
`<Value>` can be a int value to send with the command

SIMCONNECT: Events/Commands will be automatically transcribed to the according connected Simulation (e.g. XPLANE)

MSFS / H:Events: e.g. MSFS:AS1000\_MFD\_DIRECTTO


---

# 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.spadnext.com/extending-and-apis/serial-connection/command-4.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.
