Skip to content

Commit

Permalink
Release Notes:
Browse files Browse the repository at this point in the history
[MQTT-6.0.0-1] Added "write text frame" to be used for unit testing
[MQTT-6.0.0-1] Error 31 has been set as the code for receiving text frames
[MQTT-6.0.0-3] Client includes subprotocol "mqtt" in send headers
[MQTT-6.0.0-4] Server includes subprotocol "mqtt" in return headers

Known issue:
- Websockets 2.0 API does not support case-insensitive headers yet, resulting in HiveMQ not being compatible for the moment. (MediaMongrels-Ltd/LabVIEW-WebSockets-API#7)
  • Loading branch information
francois-normandin committed Oct 26, 2020
1 parent c20e8f5 commit fe9c8bd
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 7 deletions.
31 changes: 26 additions & 5 deletions MQTT Websockets Connection.vipb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VI_Package_Builder_Settings Version="2018" Created_Date="2019-04-01 18:34:00" Modified_Date="2020-10-25 19:43:05" Creator="normandinf" Comments="" ID="2a2b810729160ee9faa1e9efc9cc74ee">
<VI_Package_Builder_Settings Version="2018" Created_Date="2019-04-01 18:34:00" Modified_Date="2020-10-25 20:08:58" Creator="normandinf" Comments="" ID="22c98f65188375dc192a34b31b725e2e">
<Library_General_Settings>
<Package_File_Name>LabVIEW_Open_Source_Project_lib_MQTT_Websockets_Connection</Package_File_Name>
<Library_Version>3.1.2.8</Library_Version>
<Library_Version>3.1.2.9</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>source</Library_Source_Folder>
<Library_Output_Folder>.</Library_Output_Folder>
Expand Down Expand Up @@ -52,8 +52,15 @@ License: MIT License
<Copyright/>
<Packager/>
<URL>https://github.com/LabVIEW-Open-Source/MQTT-Connection-Websockets</URL>
<Release_Notes>- Added "write text frame" to be used for unit testing, especially MQTT-6.0.0-1 requirement.
- Error 31 has been set as the code for receiving text frames</Release_Notes>
<Release_Notes>[MQTT-6.0.0-1] Added "write text frame" to be used for unit testing
[MQTT-6.0.0-1] Error 31 has been set as the code for receiving text frames
[MQTT-6.0.0-3] Client includes subprotocol "mqtt" in send headers
[MQTT-6.0.0-4] Server includes subprotocol "mqtt" in return headers

Known issue:
- Websockets 2.0 API does not support case-insensitive headers, resulting in HiveMQ not being compatible for the moment. (https://github.com/MediaMongrels-Ltd/LabVIEW-WebSockets-API/issues/7)

</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down Expand Up @@ -343,7 +350,21 @@ License: MIT License
<Path>source\Example Websockets Client-Server.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>EF596E5BADB3129CEFC00E69B67179A4</GUID>
<Items_Data>
<Type>Item</Type>
<Sub_Palette_Index>-1</Sub_Palette_Index>
<NameSub_Menu_Name>Read Headers.vi</NameSub_Menu_Name>
<Short_Name/>
<is_Merge_VI>false</is_Merge_VI>
<Position>
<Row>2</Row>
<Column>2</Column>
</Position>
<Icon>00000000</Icon>
<Path>source\MQTT_Websockets\Connection\Read Headers.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>0DC055ADB1547C89190B20EE929512E0</GUID>
</Functions_Palette_Data>
</Library_Palette_Definition>
</VI_Package_Builder_Settings>
Binary file not shown.
Binary file not shown.
Binary file added source/MQTT_Websockets/Connection/Read Headers.vi
Binary file not shown.
13 changes: 11 additions & 2 deletions source/MQTT_Websockets/Connection/WebsocketsConnection.lvclass
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,21 @@
<Property Name="NI.ClassItem.State" Type="Int">1342710272</Property>
</Item>
<Item Name="Configure Websockets Connection.vi" Type="VI" URL="../Configure Websockets Connection.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">%Q#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!&amp;B!!!!$!!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!%R!=!!?!!!U&amp;5V26&amp;2@6W6C=W^D;W6U=SZM&gt;GRJ9BR8:7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I!#Q-!!(A!!!U)!!!!!!!!!!!!!!U&amp;!!!!!!!!#A!!!!A!!!!!!!!!#!!!!!A!!!!)!!!!#!!!$1!!!!9!!!!!!!!!!!!!!1!-!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1342710272</Property>
<Property Name="NI.ClassItem.State" Type="Int">1107825168</Property>
</Item>
<Item Name="Read Headers.vi" Type="VI" URL="../Read Headers.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">%Q#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!'-!!!!#A!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!"2!5QZ3:82V=GYA3'6B:'6S=Q!!7%"Q!"Y!!$1646&amp;56&amp;^8:7*T&lt;W.L:82T,GRW&lt;'FC(&amp;&gt;F9H.P9WNF&gt;(.$&lt;WZO:7.U;7^O,GRW9WRB=X-!!"B8:7*T&lt;W.L:82T1W^O&lt;G6D&gt;'FP&lt;C"P&gt;81!!#"!5!!$!!!!!1!#%W6S=G^S)'FO)#BO&lt;S"F=H*P=CE!6E"Q!"Y!!$1646&amp;56&amp;^8:7*T&lt;W.L:82T,GRW&lt;'FC(&amp;&gt;F9H.P9WNF&gt;(.$&lt;WZO:7.U;7^O,GRW9WRB=X-!!"&gt;8:7*T&lt;W.L:82T1W^O&lt;G6D&gt;'FP&lt;C"J&lt;A"B!0!!$!!$!!1!"1!'!!1!"!!%!!1!"Q!%!!1!#!-!!(A!!!U)!!!!!!!!#1!!!!U,!!!!!!!!!!!!!!!!!!!!!!!!#A!!!!!!!!!!!!!!%!!!$1!!!!Q!!!!!!!!!!!!!!1!*!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1107825168</Property>
</Item>
</LVClass>
Binary file modified source/MQTT_Websockets/Connection/onConnection.vi
Binary file not shown.

0 comments on commit fe9c8bd

Please sign in to comment.