NIMMSTADevice

This class represents a connected scanner within the NIMMSTA App Instances of this class can be used to control the scanner

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var decoderBoardSettings: JsonObject?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Disconnects this device

Link copied to clipboard

Gets information from the device

Link copied to clipboard

Checks if the device is connected

Link copied to clipboard
fun performSoftwareUpdate(filePath: String, securityToken: String, selectedComponents: List<SoftwareUpdateInfo>? = null): Task<Unit>

Performs software update with given file and optional selected components.

Link copied to clipboard
fun setLayout(layoutXML: String): Task<Unit>

Sets a layout on the scanner

Link copied to clipboard
fun setLayoutFor(layout: NIMMSTALayout, timeout: Int): Task<Unit>
fun setLayoutFor(layoutXML: String, timeout: Int): Task<Unit>

Sets a layout for a given time on the scanner. Returns to the previous layout afterward

Link copied to clipboard
fun setLEDColor(red: Int, green: Int, blue: Int): Task<Unit>

Sets the Color of the LED of the scanner

Link copied to clipboard

Sends the SetLEDColorAction The hex String supports following formats: "#FFFFFF", "0xFFFFFF", "FFFFFF", "#FFF", "0xFFF", "FFF"

Link copied to clipboard

Sets the screen rotation of the scanner

Link copied to clipboard

Stops reconnecting this device

Link copied to clipboard
fun triggerBeeperBurst(repeat: Int, duration: Int, pulseDuration: Int, intensity: Int): Task<Unit>

Triggers the beeper of the scanner in a given pattern

Link copied to clipboard
fun triggerImager(duration: Int): Task<Unit>

Triggers the imager for a given duration

Link copied to clipboard
fun triggerLEDBurst(repeat: Int, duration: Int, pulseDuration: Int, red: Int, green: Int, blue: Int): Task<Unit>

Triggers the LED of the scanner in a given pattern and color

Link copied to clipboard

Triggers the SOS signal of the scanner 3x Beep, Red LED, Vibration

Link copied to clipboard
fun triggerVibratorBurst(repeat: Int, duration: Int, pulseDuration: Int, intensity: Int): Task<Unit>

Triggers the vibration of the scanner in a given pattern

Link copied to clipboard
fun updateLayout(parameters: Map<String, String>): Task<Unit>

Updates the current layout with the given parameters

Link copied to clipboard

Gets info for a software update file.