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 4ded55d commit 8c88d23
Showing 1 changed file with 15 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 $"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 -e "GatewayID=1" "" \
"GatewayName=PahoGateway-01" "" \
"MaxNumberOfClients=30" "" \
"KeepAlive=60" "" \
"BrokerName=localhost" "" \
"BrokerPortNo=1883" "" \
"AggregatingGateway=NO" "" \
"QoS-1=NO" "" \
"Forwarder=NO" "" \
"PredefinedTopic=NO" "" \
"ClientAuthentication=NO" "" \
"GatewayPortNo=10000" "" \
"MulticastPortNo=1883" "" \
"MulticastIP=225.1.1.1" "" \
"MulticastTTL=1" | cat > gateway.conf
- name: Display gateway config
working-directory: ./gateway/MQTTSNGateway/bin
run: more gateway.conf
Expand Down

0 comments on commit 8c88d23

Please sign in to comment.