40 lines
984 B
Markdown
40 lines
984 B
Markdown
|
# Module controls-core
|
||
|
|
||
|
|
||
|
|
||
|
## Features
|
||
|
|
||
|
- [device](src/commonMain/kotlin/space/kscience/controls/api/Device.kt) : Device API with subscription (asynchronous and pseudo-synchronous properties)
|
||
|
- [deviceMessage](src/commonMain/kotlin/space/kscience/controls/api/DeviceMessage.kt) : Specification for messages used to communicate between Controls-kt devices.
|
||
|
- [deviceHub](src/commonMain/kotlin/space/kscience/controls/api/DeviceHub.kt) : Grouping of devices into local tree-like hubs.
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
## Artifact:
|
||
|
|
||
|
The Maven coordinates of this project are `space.kscience:controls-core:0.2.0-dev-2`.
|
||
|
|
||
|
**Gradle Groovy:**
|
||
|
```groovy
|
||
|
repositories {
|
||
|
maven { url 'https://repo.kotlin.link' }
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'space.kscience:controls-core:0.2.0-dev-2'
|
||
|
}
|
||
|
```
|
||
|
**Gradle Kotlin DSL:**
|
||
|
```kotlin
|
||
|
repositories {
|
||
|
maven("https://repo.kotlin.link")
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation("space.kscience:controls-core:0.2.0-dev-2")
|
||
|
}
|
||
|
```
|