LuvitRED release 2.22.0

Posted almost 4 years ago by OPTION Support

  • Topic is Locked
OPTION Support
OPTION Support Admin

LuvitRED 2.22.0 has been released and is now available on CloudGate Universe.
Links accessible after logging into the universe:

Release date: May 28 2020

Minimum firmware: 2.93.2


  • Openssl 1.1.1

The firmware has updated openssl to version 1.1.1 and so luvitred has been updated as well. This means that the minimum firmware for luvitred is bumped to 2.93.2.

This allows luvitred to use TLS 1.3 for connecting to servers.

  • lora new Adaptive datarate (ADR) algorithm

The adr algorithm is very important in lora installations. This mechanism tries to find the highest datarate possible that the sensor can use in order to save as much battery life as possible. This also reduces the time on air for each sensor, which is important to limit the duty-cyles (EU regulations).

This new algorithm knows the minimum SNR for each datarate and can then immediately jump to the best datarate. 

If there is still margin left, then it also reduced the TX power of the sensor so that the battery life is increased further.

  • CBOR node

The Concise Binary Object Representation (CBOR) is a data format whose  design goals include the possibility of extremely small code size,  fairly small message size, and extensibility without the need for  version negotiation. 

LuvitRED has implemented a node that performs cbor encoding and decoding. This will be useful in combination with a future COAP release.

  • Serial insmod usb driver

Some expansion cards have usb ports, but they don't enable the USB to serial drivers automatically. The serial node now has an extra checkbox to do just that.

  • sysinfo: cloudgate + expansion card information

The sysinfo node has now learned which cloudgate it is running on and which expansion cards are enabled. 

  • flow node: show memory usage

The flow node can output the current memory usage of luvitred. By doing so it will first perform a garbage collection. This is useful for debugging memory leaks.

  • iothub: device provisioning service

The iothub node has been rewritten completely. It now supports x509 and DPS for authentication. DPS is useful because it only requires one symmetric key for all cloudgates allowing you to deploy the same flow on each cloudgate without having to modify the credentials.

  • debug node: property expressions

The debug node allows you to select a specify value and not just msg.payload or the complete message to output to the debug tab.

  • cumulocity improvements

There have been many fixes in the latest luvitred released for cumulocity. The most important one is to mention the tenant id.

Previously using manual provisioning, you would insert the tenant, username and password.

Now you have to use the tenant ID, username and password instead. This may be a breaking change, depending on your server.

The tenant id is usually a t followed by a number, but older cumulocity instances may use the tenant as the tenant id.

This change was required to support enterprise servers.

Full Change-log:


  • bacnet: limit and queue client requests
    c8y: backoff retry on incorrect credentials
    c8y: optional reboot after fw upgrade
    cbor: cbor node
    cglib: add LTE M1/NB1/NB2 wwan system type
    file out: improve performance appending to file
    lib: start subflow nodes once per subflow
    lora: improved adr algorithm
    lora: prevent join-accept replays
    sysinfo: hide meid warning
    tls: updated (mozilla) cipher suites
    tls: support tls 1.3
    tls: use openssl 1.1.1


  • c8y: fix downloading syslog the first 9 days of the month
    c8y: optimize smartrest templates
    c8y: use tenant (id) in auth header
    flowlock: fix locking flows with licensed nodes
    lora: de-duplicate rxpk
    mbus: hw reset before probe or scan
    wwan: workaround rssi overflow (mostly on cg nano)


  • debug: debug property expression
    editor: fix export when node has wires on non-existing ports
    gpio: fix sc analog output
    iothub: client + iothub dps
    iothub: support x509 authentication
    lora: private sync word
    mbus slave: select baud + auto tty detection
    mbus: CG1124 support various baudrates
    mbus: fix scanning using multiple baudrates


  • c8y: various improvements
    csv: allow optional fields, allow encoding empty csv
    flow: show memory usage
    serial: insmod usb drivers option
    sysinfo: cloudgate + expansion cards information


  • c8y: fix config parse error
    c8y: improve binary download
    c8y: realtime fixes
    csv: rewrite csv codec
    firewall: fix startup issue
    iotcs: fix broken library
    leveldb: fix crash on invalid batch operation
    modbus: support serial modes using hal
    serial: support full duplex
    wan: pin state and apn username info

0 Votes