# Serial Communication

| Code | Error                             | Description                              |
| ---- | --------------------------------- | ---------------------------------------- |
| -601 | K\_ERROR\_SERIAL\_INVALID\_CONFIG | Invalid configuration for COM port       |
| -602 | K\_ERROR\_SERIAL\_OPEN            | Error opening COM port                   |
| -603 | K\_ERROR\_SERIAL\_CONFIG          | Error configuring COM port               |
| -604 | K\_ERROR\_SERIAL\_CLOSE           | Error closing COM port                   |
| -605 | K\_ERROR\_SERIAL\_PORT\_NOT\_OPEN | Error accessing COM port. Port not open. |
| -606 | K\_ERROR\_SERIAL\_WRITE           | Error writing to COM port                |
| -607 | K\_ERROR\_SERIAL\_READ            | Error reading from COM port              |


---

# 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://doc.sysdevmobile.com/kalipso5/developing/error-codes/serial-communication.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.
