HWB Standard
MQTT topic and payload specifications for hardware devices and sales clients.
Specification: Configure all devices
A method for setting configuration for all device at once. Can set one or many options at once. Will only overwrite the passed configuration.
- Topic:
validators/configure
- Direction: Consume (Outbound from client)
- JSON Schema: configure.schema.json
- MQTT QoS: 1 (at least once)
- Trigger: Client setting configuration through UI or automated requests.
Settings
dumpCardMode
: See NFC flow chart for implications of card dump mode.timeout
: Settings for timeout behavior with timout in seconds and message when it is timed out. Timeout of 0 will be no timeout (not recommended)
Related
- Request for sending current:
/validators/configure/request
- List current configuration:
/validators/configure/current
- Setting configuration for specific device:
/validators/[deviceId]/configure
Examples
{
"traceId": "543070fe-ef32-11ed-a05b-0242ac120003",
"eventTimestamp": "2023-04-22T10:28:37.337Z",
"dumpCardMode": true
}
{
"traceId": "543070fe-ef32-11ed-a05b-0242ac120003",
"eventTimestamp": "2023-04-22T10:28:37.337Z",
"timeout": {
"timeInSeconds": 10,
"message": "Ingen kontakt med tjeneste. Gå på bussen"
}
}
{
"traceId": "543070fe-ef32-11ed-a05b-0242ac120003",
"eventTimestamp": "2023-04-22T10:28:37.337Z",
"dumpCardMode": true,
"timeout": {
"timeInSeconds": 10,
"message": "Ingen kontakt med tjeneste. Gå på bussen"
}
}