diff --git a/.gitignore b/.gitignore index 1f28d6b2..f58c8c3d 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ build/ ### VS Code ### .vscode/ + +/api/src/test/kotlin/de/jnkconsulting/e3dc/easyrscp/api/generators/* diff --git a/api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/frame/tags/EMSTag.kt b/api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/frame/tags/EMSTag.kt index 44682de0..fbaef267 100644 --- a/api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/frame/tags/EMSTag.kt +++ b/api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/frame/tags/EMSTag.kt @@ -173,6 +173,8 @@ enum class EMSTag( /** * hex = "0x01000011", type = DataType.NONE * + * Request tag. A data block with the tag [MODE] is supplied as a response + * * You know what the tag means or want to improve the tag description? Create a [Ticket](https://github.com/jnk-cons/easy-rscp/issues/new?title=Documentation+improvement+for+EMSTag.REQ_MODE&labels=documentation&body=Documentation+update+for+enum+EMSTag.REQ_MODE:). * * Original E3DC Documentation: @@ -620,6 +622,13 @@ enum class EMSTag( /** * hex = "0x01800011", type = DataType.UCHAR8 * + * Response tag to a [REQ_MODE] request. + * + * The answer can contain 3 values: + * - 1 -> IDLE -> Currently the battery is neither charged nor discharged + * - 2 -> DISCHARGE -> Currently the battery is discharged + * - 3 -> CHARGE -> Currently charging the battery + * * You know what the tag means or want to improve the tag description? Create a [Ticket](https://github.com/jnk-cons/easy-rscp/issues/new?title=Documentation+improvement+for+EMSTag.MODE&labels=documentation&body=Documentation+update+for+enum+EMSTag.MODE:). * * Original E3DC Documentation: