Converter is connected to a PC via USB/UART converter (3.5 mm jack connector). After selecting port of USB/UART converter and clicking „Connect“ the connection with LoRa converter should be established (it may take a few seconds if converter is taking a measurement).
Current configuration of converter will be loaded upon connecting and GUI defaults to MBUS page:
Current configuration of converter can be saved into a text file (.cfg) in JSON format and loaded from it.
Current configuration of converter can be saved into a YAML file (.yaml) with prepared individual configuration frames. User can select only needed frames and send them into a converter.
List of MBUs request to be made from converter to a MBUS device:
Request can be typed in by hand („Add new line“) or by dialog wizard („Add request“):
Dialog automatically calculates checksum and fills in start and stop bytes.
User can set different offsets and length which are taken from responses to selected requests.
E.g.: for first request (1011223316) take data of length 4 bytes with offset 0.
LUA interface adds ability to program converter with user’s script with use of converter’s API (documentation).
User can either select from available scripts (from combo box), load script from a file (.lua), edit loaded script and save it. Or user can type in own custom script.
Script is send to a converter by “Send” button or by saving configuration into a converter.
Another way of using LUA interface is interactive console where can user type LUA commands in real time. It is useful mainly for testing purposes.
Interactive console is activated with button “Debug ON” (can be exited from with “Debug OFF” or “Disconnect” buttons).
Lua interactive console is great for communication with NB IoT module. It supports AT commands via api call:
= IMSI SIM card number =
= Signal quality =
Response: 13 means 85 dBm RSSI (normal values 9-14, bigger number = stronger signal)
= Status of network registration =
Response: 5 means that module is registered into a roaming network
= Current operator =
Response: 23003 is unique operator identifier(in this case Vodafone CZ).