Skip to content

Commit 6ae1dfb

Browse files
- Moved the lock-unlock code inside the "valid session" subcase
- Testing reconnection and Mutex with a local TCP Connection
1 parent 0cf1912 commit 6ae1dfb

File tree

7 files changed

+4
-0
lines changed

7 files changed

+4
-0
lines changed

MQTT Client.lvproj

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
1414
<Property Name="specify.custom.address" Type="Bool">false</Property>
1515
<Item Name="Example" Type="Folder"/>
16+
<Item Name="Unit Test (requires TCP Connection package)" Type="Folder">
17+
<Item Name="Test Mutex.vi" Type="VI" URL="../unit tests/Test Mutex.vi"/>
18+
</Item>
1619
<Item Name="MQTT Client.lvlib" Type="Library" URL="../source/MQTT Client.lvlib"/>
1720
<Item Name="Dependencies" Type="Dependencies">
1821
<Item Name="vi.lib" Type="Folder">
@@ -34,6 +37,7 @@
3437
<Item Name="MQTT_Connection.lvlib" Type="Library" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/MQTT Connection/MQTT_Connection/MQTT_Connection.lvlib"/>
3538
<Item Name="MQTT_Control_Packets.lvlib" Type="Library" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/MQTT Control Packets/Control Packets/MQTT_Control_Packets.lvlib"/>
3639
<Item Name="MQTT_Control_Packets_50.lvlib" Type="Library" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/MQTT Control Packets/Control Packets/MQTT_Control_Packets_50.lvlib"/>
40+
<Item Name="MQTT_TCP.lvlib" Type="Library" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/MQTT TCP Connection/MQTT_TCP/MQTT_TCP.lvlib"/>
3741
<Item Name="Not A Semaphore.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/semaphor.llb/Not A Semaphore.vi"/>
3842
<Item Name="Obtain Semaphore Reference.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/semaphor.llb/Obtain Semaphore Reference.vi"/>
3943
<Item Name="OpenDescriptor.lvlib" Type="Library" URL="/&lt;vilib&gt;/LabVIEW Open Source Project/Data Manipulation/TypeDescriptor/OpenDescriptor.lvlib"/>

source/Client class/Ping.vi

76 Bytes
Binary file not shown.
-252 Bytes
Binary file not shown.

source/Client class/SendPacket.vi

756 Bytes
Binary file not shown.

source/Client class/lock.vi

16 Bytes
Binary file not shown.
84 Bytes
Binary file not shown.

unit tests/Test Mutex.vi

34.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)