Skip to content

Commit

Permalink
sn test
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Oct 30, 2023
1 parent 4d6fa64 commit 4ded55d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/mqtt-sn-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@ jobs:
- name: Write config to change broker
working-directory: ./gateway/MQTTSNGateway/bin
run: |
echo -n "GatewayID=1\n" \
"GatewayName=PahoGateway-01\n" \
"MaxNumberOfClients=30\n" \
"KeepAlive=60\n" \
"BrokerName=localhost\n" \
"BrokerPortNo=1883\n" \
"AggregatingGateway=NO\n" \
"QoS-1=NO\n" \
"Forwarder=NO\n" \
"PredefinedTopic=NO\n" \
"ClientAuthentication=NO\n" \
"GatewayPortNo=10000\n" \
"MulticastPortNo=1883\n" \
"MulticastIP=225.1.1.1\n" \
"MulticastTTL=1" | cat > gateway.conf
echo $"GatewayID=1\n" \
$"GatewayName=PahoGateway-01\n" \
$"MaxNumberOfClients=30\n" \
$"KeepAlive=60\n" \
$"BrokerName=localhost\n" \
$"BrokerPortNo=1883\n" \
$"AggregatingGateway=NO\n" \
$"QoS-1=NO\n" \
$"Forwarder=NO\n" \
$"PredefinedTopic=NO\n" \
$"ClientAuthentication=NO\n" \
$"GatewayPortNo=10000\n" \
$"MulticastPortNo=1883\n" \
$"MulticastIP=225.1.1.1\n" \
$"MulticastTTL=1" | cat > gateway.conf
- name: Display gateway config
working-directory: ./gateway/MQTTSNGateway/bin
run: more gateway.conf
Expand Down
4 changes: 4 additions & 0 deletions wolfmqtt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,14 @@
<ClCompile Include="src\mqtt_client.c" />
<ClCompile Include="src\mqtt_packet.c" />
<ClCompile Include="src\mqtt_socket.c" />
<ClCompile Include="src\mqtt_sn_client.c" />
<ClCompile Include="src\mqtt_sn_packet.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="wolfmqtt\mqtt_client.h" />
<ClInclude Include="wolfmqtt\mqtt_packet.h" />
<ClInclude Include="wolfmqtt\mqtt_sn_client.h" />
<ClInclude Include="wolfmqtt\mqtt_sn_packet.h" />
<ClInclude Include="wolfmqtt\mqtt_socket.h" />
<ClInclude Include="wolfmqtt\mqtt_types.h" />
<ClInclude Include="wolfmqtt\visibility.h" />
Expand Down

0 comments on commit 4ded55d

Please sign in to comment.