Skip to main content

Wallboard keyboard emulator

Please note, in order to use Sensors and Sensor events, Premium (ENTERPRISE) license is required.

Requirements

  • Android 4.0.6 application version
  • Windows 4.0.210 application version

Setup & Configuration

  • Navigate to Devices menu, then select the device where you want to use the sensors.
  • Open the device settings by clicking on the icon

OR

  • Click on the device card, then Select Settings tab
  • Find sensor settings, then create a configuration from the following:

{
"services": [
{
"uid": "",
"type": "KEYBOARD_EMULATOR",
"settings": {
"rules": [
{
"type": "KEYBOARD|JOYSTICK|IR",
"timeout": 50,
"eol": "\n",
"format": "message|sensor",
"target": "displayer|device|both",
"defaultId": "",
"defaultEvent": "",
"pattern": "(\\w\\d{3}\\w)\\[(TR|TD)=UID:([A-Za-z0-9]*)]\r\n",
"idGroupIndex": 1,
"eventGroupIndex": 2,
"valueGroupIndex": 3
}
]
}
}
]
}

Parameters

Type

type is used to tell the device what kind of keyboard emulator is connected, usually if for example a barcode or NFC reader is used then the type has to be KEYBOARD

Timeout

The timeout sets the maximum amount of time the device will wait for a new key press, if the timeout expires the received message will be sent to the target

Format

The format tells the device what kind of format it should use to send the message to the target, if the format is message then only the message itself will be sent to the target, if the format is sensor then the message will be wrapped in our sensor message format

Target

target tells the device to where to send the message, if it is set to displayer then the message will be sent to the displayer where it can be handled in a content, if it is set to device then the received message will be sent to the underlying display operating system.

The target should always be set to displayer to prevent an IR remote for example from controlling the display

Default ID and Default Event

The defaultId and defaultEvent are used when the format is set to sensor, in this case these will added as an ID and as an Event to the sensor message

Pattern

The pattern is used similarly to our Generic sensor the pattern given here will be applied to the received message, and the

  • idGroupIndex
  • eventGroupIndex
  • valueGroupIndex

will be used to get the values captured by the pattern