-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Began implementing ring scanner, adding remoteScannerNotification fun…
…ction in order to send notifications to the ring scanner. Added helper classes for DeviceId and RemoteScannerNotification.
- Loading branch information
1 parent
e3f9dc4
commit 0c5949a
Showing
9 changed files
with
156 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package dk.gls.kdw | ||
|
||
import dk.gls.kdw.implementation.KDWImplementation | ||
|
||
object KDW : KDWImplementation() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
kotlin-data-wedge-lib/src/main/java/dk/gls/kdw/configuration/scanner/DeviceId.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package dk.gls.kdw.configuration.scanner | ||
|
||
enum class DeviceId { | ||
/** Built-in imager scanner **/ | ||
INTERNAL_IMAGER, | ||
/** Built-in laser scanner **/ | ||
INTERNAL_LASER, | ||
/** Built-in camera scanner **/ | ||
INTERNAL_CAMERA, | ||
/** Pluggable Z-back scanner for ET50/ET55 **/ | ||
SERIAL_SSI, | ||
/** RS507 Bluetooth scanner **/ | ||
BLUETOOTH_SSI, | ||
/** RS6000 Bluetooth scanner **/ | ||
BLUETOOTH_RS6000, | ||
/** RS5100 Bluetooth scanner **/ | ||
BLUETOOTH_RS5100, | ||
/** DS2278 Bluetooth scanner **/ | ||
BLUETOOTH_DS2278, | ||
/** DS3678 Bluetooth scanner **/ | ||
BLUETOOTH_DS3678, | ||
/** Serial SSI scanner RS429 (for use with WT6000) **/ | ||
PLUGABLE_SSI, | ||
/** Serial SSI scanner RS5000 (for use with WT6000) **/ | ||
PLUGABLE_SSI_RS5000, | ||
/** DS3608 pluggable USB scanner **/ | ||
USB_SSI_DS3608 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
kotlin-data-wedge-lib/src/main/java/dk/gls/kdw/configuration/scanner/NotificationSettings.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package dk.gls.kdw.configuration.scanner | ||
|
||
enum class RemoteScannerNotification(val value: Int) { | ||
ONE_HIGH_SHORT_BEEP(0), | ||
TWO_HIGH_SHORT_BEEPS(1), | ||
THREE_HIGH_SHORT_BEEPS(2), | ||
FOUR_HIGH_SHORT_BEEPS(3), | ||
FIVE_HIGH_SHORT_BEEPS(4), | ||
ONE_LOW_SHORT_BEEP(5), | ||
TWO_LOW_SHORT_BEEPS(6), | ||
THREE_LOW_SHORT_BEEPS(7), | ||
FOUR_LOW_SHORT_BEEPS(8), | ||
FIVE_LOW_SHORT_BEEPS(9), | ||
ONE_HIGH_LONG_BEEP(10), | ||
TWO_HIGH_LONG_BEEPS(11), | ||
THREE_HIGH_LONG_BEEPS(12), | ||
FOUR_HIGH_LONG_BEEPS(13), | ||
FIVE_HIGH_LONG_BEEPS(14), | ||
ONE_LOW_LONG_BEEP(15), | ||
TWO_LOW_LONG_BEEPS(16), | ||
THREE_LOW_LONG_BEEPS(17), | ||
FOUR_LOW_LONG_BEEPS(18), | ||
FIVE_LOW_LONG_BEEPS(19), | ||
FAST_WARBLE_BEEP(20), | ||
SLOW_WARBLE_BEEP(21), | ||
HIGH_LOW_BEEP(22), | ||
LOW_HIGH_BEEP(23), | ||
HIGH_LOW_HIGH_BEEP(24), | ||
LOW_HIGH_LOW_BEEP(25), | ||
HIGH_HIGH_LOW_LOW(26), | ||
GREEN_LED_OFF(42), | ||
GREEN_LED_ON(43), | ||
RED_LED_ON(47), | ||
RED_LED_OFF(48) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
kotlin-data-wedge-lib/src/main/java/dk/gls/kdw/model/scanner/ScannerStatus.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters