Changelog 3 1 16 » History » Version 2
Torbjorn Carlqvist Admin, 09/14/2023 11:12 AM
1 | 1 | Torbjorn Carlqvist Admin | h1. Changelog 3.1.16 |
---|---|---|---|
2 | |||
3 | New features: |
||
4 | |||
5 | * Added property "tags" to lightning output (LO)-object to support some special features for DALI/LoRa networking. |
||
6 | By default DTX will fill the tag property with empty parameters for the *LoRa network node address* (LoRaAddr) , *DALI group* (DALIGr) and *DALI feedback* (DALIGrCtrlAdr) (unique ballast to query) short address. |
||
7 | Then when provisioning the DALI network the integrator can via objects view specifically set the values according the the DALI addressing plan. |
||
8 | |||
9 | !LO_tags_dali.PNG! |
||
10 | |||
11 | * A new JS-method added for decoding base64-coded text on the server side because it is hard to do in javascript and poorly supported in GraalJS engine. |
||
12 | |||
13 | <pre><code class="javascript"> |
||
14 | var base64_decoded = Controller.base64ToHex("AAAAAAAAA8MIDwAAAYmR0cpgAgm7S"); |
||
15 | </code></pre> |
||
16 | 2 | Torbjorn Carlqvist Admin | |
17 | * Returning a binary data in HTTP_POST responses (octet-stream). |
||
18 | In some cases when a client sending binary data to DTX it requires a responses also in octet-stream. For this a new little feature is introduced where you add "HEX:" before the string of HEX characters. |
||
19 | <pre><code class="javascript"> |
||
20 | function HTTP_POST(resource,payload){ |
||
21 | //print("HTTP POST - Resource:" + resource + " Payload:" + payload); |
||
22 | |||
23 | //Respond |
||
24 | return "HEX:01FE"; //"01FE" tells the device to send more data. "HEX:" will be removed from the string, it is only a flag telling DTX to respond as binary octect-stream. |
||
25 | } |
||
26 | |||
27 | </code></pre> |
||
28 | |||
29 | |||
30 | Bug fixes: |
||
31 | * tags was not properly stored/retreived from override.json when changed. That causes the value to disapere when power cycle the node. |
||
32 | |||
33 | Build |
||
34 | * New BACnet4J version 6.0.8 |