Workstation Commons (Mx 9)
Content Type: Module
Categories: Connectors,Internet-of-Things,Communication
Overview
Workstation Commons contains a collection of building blocks on top Workstation Connector (Mx 9) commonly used when building app connected to peripherals devices with Mendix Workstation.
This version supports Mendix Studio Pro 9.24.11-10.21.0. Use Workstation Commons for Mendix Studio Pro versions 10.21.1+.
Documentation
Please see the documentation on Workstation Commons Docs.
Releases
Version: 4.3.2
Framework Version: 9.24.11
Release Notes:
Bug Fixes
We fixed a bug that would cause compilation errors when using the Workstation Commons module in Studio Pro 11.
Version: 4.3.0
Framework Version: 9.24.11
Release Notes:
New Features
- Camera functions - We added functions for barcode scanning and motion detection with camera devices.
- Printing functions - We added functions to print plain text, raw printer commands, and PDF documents.
- Message parsing - We added functions that convert the messages received from Bluetooth, camera, file, and printer devices into objects.
- General utilities - We added functions to encode and decode Base64 content.
Improvements
- Request and SendMessage - Every device operation is now available as a request, which waits for the response of the device, and as a message, which is sent without waiting. For more information. This has the following implications:
- Breaking change - We renamed the existing Device Utils functions to their Request or SendMessage names. For example, Printer_Print is now Printer_RequestPrint, and BLE_Read is now BLE_SendRead. Update the calls in your app after upgrading the module.
- Breaking change - We removed the CardReader_TransmitAPDU function.
- Request and SendMessage - Every device operation is now available as a request, which waits for the response of the device, and as a message, which is sent without waiting. For more information. This has the following implications:
Bug Fixes
- We fixed an issue where long messages in the device logger were not wrapped.
Version: 4.2.1
Framework Version: 9.24.11
Release Notes:
V4.2.0
- Nanoflows specialized to connect with:
- Smartcard reader
- Bluetooth
- Printer
- Files
- Nanoflows to manage connection and disconnection with device;
- A logger to show in app raw messages coming from devices;
- Snippets to display information of station, device and device state.
V4.2.1
- Included missing sticky scroll widget snippet dependency