Skip to content

Commit

Permalink
MIgration of Control Packets from MQTT Broker project into MQTT Contr…
Browse files Browse the repository at this point in the history
…ol Packets project
  • Loading branch information
francois-normandin committed Oct 15, 2020
0 parents commit 754dca2
Show file tree
Hide file tree
Showing 172 changed files with 4,139 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Libraries
*.lvlibp
*.llb

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe

# Metadata
*.aliases
*.lvlps
*.vip
6 changes: 6 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Zero-Clause BSD
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

https://opensource.org/licenses/0BSD
1,885 changes: 1,885 additions & 0 deletions MQTT Control Packets.vipb

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions source/Control Packets/AUTH/AUTH.lvclass

Large diffs are not rendered by default.

Binary file added source/Control Packets/AUTH/Create AUTH Packet.vi
Binary file not shown.
100 changes: 100 additions & 0 deletions source/Control Packets/CONNACK/CONNACK.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
173 changes: 173 additions & 0 deletions source/Control Packets/CONNECT/CONNECT.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/CONNECT/getClientID.vi
Binary file not shown.
Binary file added source/Control Packets/CONNECT/getConnectFlags.vi
Binary file not shown.
Binary file added source/Control Packets/CONNECT/getKeepAlive.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/CONNECT/getProtocolName.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
437 changes: 437 additions & 0 deletions source/Control Packets/ControlPacket/ControlPacket.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/ControlPacket/getFlags.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
37 changes: 37 additions & 0 deletions source/Control Packets/DISCONNECT/DISCONNECT.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
54 changes: 54 additions & 0 deletions source/Control Packets/MQTT_311/MQTTVersion.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
53 changes: 53 additions & 0 deletions source/Control Packets/MQTT_50/MQTTVersion50.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
24 changes: 24 additions & 0 deletions source/Control Packets/MQTT_Control_Packets.lvlib
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version='1.0' encoding='UTF-8'?>
<Library LVVersion="13008000">
<Property Name="NI.Lib.Icon" Type="Bin">%Q#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!(]!!!*Q(C=\&gt;8"=&gt;MQ%!8143;(8.6"2CVM#WJ",7Q,SN&amp;(N&lt;!NK!7VM#WI"&lt;8A0$%94UZ2$P%E"Y.?G@I%A7=11U&gt;M\7P%FXB^VL\`NHV=@X&lt;^39O0^N(_&lt;8NZOEH@@=^_CM?,3)VK63LD-&gt;8LS%=_]J'0@/1N&lt;XH,7^\SFJ?]Z#5P?=F,HP+5JTTF+5`Z&gt;MB$(P+1)YX*RU2DU$(![)Q3YW.YBG&gt;YBM@8'*\B':\B'2Z&gt;9HC':XC':XD=&amp;M-T0--T0-.DK%USWS(H'2\$2`-U4`-U4`/9-JKH!&gt;JE&lt;?!W#%;UC_WE?:KH?:R']T20]T20]\A=T&gt;-]T&gt;-]T?/7&lt;66[UTQ//9^BIHC+JXC+JXA-(=640-640-6DOCC?YCG)-G%:(#(+4;6$_6)]R?.8&amp;%`R&amp;%`R&amp;)^,WR/K&lt;75?GM=BZUG?Z%G?Z%E?1U4S*%`S*%`S'$;3*XG3*XG3RV320-G40!G3*D6^J-(3D;F4#J,(T\:&lt;=HN+P5FS/S,7ZIWV+7.NNFC&lt;+.&lt;GC0819TX-7!]JVO,(7N29CR6L%7,^=&lt;(1M4#R*IFV][.DX(X?V&amp;6&gt;V&amp;G&gt;V&amp;%&gt;V&amp;\N(L@_Z9\X_TVONVN=L^?Y8#ZR0J`D&gt;$L&amp;]8C-Q_%1_`U_&gt;LP&gt;WWPAG_0NB@$TP@4C`%`KH@[8`A@PRPA=PYZLD8Y!#/7SO!!!!!!</Property>
<Property Name="NI.Lib.SourceVersion" Type="Int">318799872</Property>
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.SortType" Type="Int">3</Property>
<Item Name="MQTTVersion.lvclass" Type="LVClass" URL="../MQTT_311/MQTTVersion.lvclass"/>
<Item Name="ControlPacket.lvclass" Type="LVClass" URL="../ControlPacket/ControlPacket.lvclass"/>
<Item Name="CONNECT.lvclass" Type="LVClass" URL="../CONNECT/CONNECT.lvclass"/>
<Item Name="CONNACK.lvclass" Type="LVClass" URL="../CONNACK/CONNACK.lvclass"/>
<Item Name="PINGREQ.lvclass" Type="LVClass" URL="../PINGREQ/PINGREQ.lvclass"/>
<Item Name="PINGRESP.lvclass" Type="LVClass" URL="../PINGRESP/PINGRESP.lvclass"/>
<Item Name="PUBACK.lvclass" Type="LVClass" URL="../PUBACK/PUBACK.lvclass"/>
<Item Name="PUBCOMP.lvclass" Type="LVClass" URL="../PUBCOMP/PUBCOMP.lvclass"/>
<Item Name="PUBLISH.lvclass" Type="LVClass" URL="../PUBLISH/PUBLISH.lvclass"/>
<Item Name="PUBREC.lvclass" Type="LVClass" URL="../PUBREC/PUBREC.lvclass"/>
<Item Name="PUBREL.lvclass" Type="LVClass" URL="../PUBREL/PUBREL.lvclass"/>
<Item Name="SUBACK.lvclass" Type="LVClass" URL="../SUBACK/SUBACK.lvclass"/>
<Item Name="SUBSCRIBE.lvclass" Type="LVClass" URL="../SUBSCRIBE/SUBSCRIBE.lvclass"/>
<Item Name="UNSUBACK.lvclass" Type="LVClass" URL="../UNSUBACK/UNSUBACK.lvclass"/>
<Item Name="UNSUBSCRIBE.lvclass" Type="LVClass" URL="../UNSUBSCRIBE/UNSUBSCRIBE.lvclass"/>
<Item Name="DISCONNECT.lvclass" Type="LVClass" URL="../DISCONNECT/DISCONNECT.lvclass"/>
</Library>
10 changes: 10 additions & 0 deletions source/Control Packets/MQTT_Control_Packets_50.lvlib
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<Library LVVersion="13008000">
<Property Name="NI.Lib.Icon" Type="Bin">%Q#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!(]!!!*Q(C=\&gt;7R=2MR%!81N=?"5X&lt;A91P&lt;!FNA#^M#5Y6M96NA"R[WM#WQ"&lt;9A0ZYR'E?G!WPM1$AN&gt;@S(!ZZQG&amp;0%VLZ'@)H8:_X\&lt;^P(^7@8H\4Y;"`NX\;8JZPUX@@MJXC]C.3I6K5S(F/^DHTE)R`ZS%@?]J;XP/5N&lt;XH*3V\SEJ?]Z#F0?=J4HP+5&lt;Y=]Z#%0/&gt;+9@%QU"BU$D-YI-4[':XC':XB]D?%:HO%:HO(2*9:H?):H?)&lt;(&lt;4%]QT-]QT-]BNIEMRVSHO%R@$20]T20]T30+;.Z'K".VA:OAW"%O^B/GK&gt;ZGM&gt;J.%`T.%`T.)`,U4T.UTT.UTROW6;F.]XDE0-9*IKH?)KH?)L(U&amp;%]R6-]R6-]JIPC+:[#+"/7Q2'CX&amp;1[F#`&amp;5TR_2@%54`%54`'YN$WBWF&lt;GI8E==J\E3:\E3:\E-51E4`)E4`)EDW%D?:)H?:)H?5Q6S:-]S:-A;6,42RIMX:A[J3"Z`'S\*&lt;?HV*MENS.C&lt;&gt;Z9GT,7:IOVC7*NDFA00&gt;&lt;$D0719CV_L%7.N6CR&amp;C(7(R=,(1M4;Z*9.T][RNXH46X62:X632X61?X6\H(L8_ZYP^`D&gt;LP&amp;^8K.S_53Z`-Z4K&gt;4()`(/"Q/M&gt;`P9\@&lt;P&lt;U'PDH?8AA`XUMPTP_EXOF`[8`Q&lt;IT0]?OYVOA(5/(_Z!!!!!!</Property>
<Property Name="NI.Lib.SourceVersion" Type="Int">318799872</Property>
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.SortType" Type="Int">3</Property>
<Item Name="MQTTVersion50.lvclass" Type="LVClass" URL="../MQTT_50/MQTTVersion50.lvclass"/>
<Item Name="AUTH.lvclass" Type="LVClass" URL="../AUTH/AUTH.lvclass"/>
</Library>
Binary file not shown.
37 changes: 37 additions & 0 deletions source/Control Packets/PINGREQ/PINGREQ.lvclass

Large diffs are not rendered by default.

Binary file not shown.
37 changes: 37 additions & 0 deletions source/Control Packets/PINGRESP/PINGRESP.lvclass

Large diffs are not rendered by default.

Binary file not shown.
57 changes: 57 additions & 0 deletions source/Control Packets/PUBACK/PUBACK.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
57 changes: 57 additions & 0 deletions source/Control Packets/PUBCOMP/PUBCOMP.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/PUBLISH/ExtractFlagBits.vi
Binary file not shown.
Binary file not shown.
142 changes: 142 additions & 0 deletions source/Control Packets/PUBLISH/PUBLISH.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/PUBLISH/getFlags.vi
Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/PUBLISH/getTopicName.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
67 changes: 67 additions & 0 deletions source/Control Packets/PUBREC/PUBREC.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
66 changes: 66 additions & 0 deletions source/Control Packets/PUBREL/PUBREL.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file added source/Control Packets/PUBREL/getFlags.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
94 changes: 94 additions & 0 deletions source/Control Packets/SUBACK/SUBACK.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/SUBACK/getReturnCodes.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
112 changes: 112 additions & 0 deletions source/Control Packets/SUBSCRIBE/SUBSCRIBE.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file added source/Control Packets/SUBSCRIBE/getFlags.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
57 changes: 57 additions & 0 deletions source/Control Packets/UNSUBACK/UNSUBACK.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
103 changes: 103 additions & 0 deletions source/Control Packets/UNSUBSCRIBE/UNSUBSCRIBE.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file added source/Control Packets/UNSUBSCRIBE/getFlags.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
35 changes: 35 additions & 0 deletions source/MQTT Control Packets.lvproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="13008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.Project.Description" Type="Str"></Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="server.app.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.control.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.tcp.enabled" Type="Bool">false</Property>
<Property Name="server.tcp.port" Type="Int">0</Property>
<Property Name="server.tcp.serviceName" Type="Str">My Computer/VI Server</Property>
<Property Name="server.tcp.serviceName.default" Type="Str">My Computer/VI Server</Property>
<Property Name="server.vi.callsEnabled" Type="Bool">true</Property>
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
<Property Name="specify.custom.address" Type="Bool">false</Property>
<Item Name="Examples" Type="Folder">
<Item Name="Example_Local MQTT Communication.vi" Type="VI" URL="../Examples/Example_Local MQTT Communication.vi"/>
</Item>
<Item Name="Helper Drop VIs" Type="Folder">
<Item Name="Drop_DecodeIncomingPacket.vi" Type="VI" URL="../Control Packets/Drop_DecodeIncomingPacket.vi"/>
</Item>
<Item Name="MQTT_Control_Packets.lvlib" Type="Library" URL="../Control Packets/MQTT_Control_Packets.lvlib"/>
<Item Name="MQTT_Control_Packets_50.lvlib" Type="Library" URL="../Control Packets/MQTT_Control_Packets_50.lvlib"/>
<Item Name="Dependencies" Type="Dependencies">
<Item Name="vi.lib" Type="Folder">
<Item Name="Clear Errors.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Clear Errors.vi"/>
<Item Name="Error Cluster From Error Code.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Error Cluster From Error Code.vi"/>
<Item Name="MD5Checksum core.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/MD5Checksum.llb/MD5Checksum core.vi"/>
<Item Name="MD5Checksum format message-digest.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/MD5Checksum.llb/MD5Checksum format message-digest.vi"/>
<Item Name="MD5Checksum pad.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/MD5Checksum.llb/MD5Checksum pad.vi"/>
<Item Name="MD5Checksum string.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/MD5Checksum.llb/MD5Checksum string.vi"/>
</Item>
</Item>
<Item Name="Build Specifications" Type="Build"/>
</Item>
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 754dca2

Please sign in to comment.