-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
sub_test_fixed_width
executable file
·59 lines (52 loc) · 1.48 KB
/
sub_test_fixed_width
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
LD_LIBRARY_PATH=../lib ./mosquitto_sub \
-h test.mosquitto.org \
--retained-only \
--remove-retained \
-t FW/# \
-W 1>/dev/null 2>/dev/null
LD_LIBRARY_PATH=../lib ./mosquitto_pub \
-h test.mosquitto.org \
-D publish content-type "application/json" \
-D publish message-expiry-interval 360000 \
-D publish payload-format-indicator 1 \
-D publish response-topic response-topic \
-m ABCDEFGHIJKLMNOPQRSTUVWXYZ \
-q 2 \
-r \
-t FW/truncate \
-V 5
LD_LIBRARY_PATH=../lib ./mosquitto_pub \
-h test.mosquitto.org \
-D publish content-type "null" \
-D publish message-expiry-interval 3600 \
-D publish payload-format-indicator 1 \
-D publish response-topic r-t \
-m Off \
-q 2 \
-r \
-t FW/expire \
-V 5
LD_LIBRARY_PATH=../lib ./mosquitto_pub \
-h test.mosquitto.org \
-D publish payload-format-indicator 1 \
-D publish response-topic rt \
-m Offline \
-q 2 \
-r \
-t FW/1 \
-V 5
LD_LIBRARY_PATH=../lib ./mosquitto_sub \
-h test.mosquitto.org \
-C 3 \
-F "| %10t | %-10t | %7x | %-7x | %08x | %7X | %-7X | %08X | %8p | %-8p | %3m | %-3m | %03m | %3l | %-3l | %03l | %2F | %-2F | %02F | %5C | %-5C | %5E | %-5E | %05E | %5A | %5R | %-5R |" \
-q 2 \
-t 'FW/#' \
-V 5
echo
LD_LIBRARY_PATH=../lib ./mosquitto_sub \
-h test.mosquitto.org \
-C 3 \
-F "| %10.10t | %.5t | %-10.10t | %7x | %-7x | %08x | %7X | %-7X | %08X | %8p | %-8p | %3m | %-3m | %03m | %3l | %-3l | %03l | %2F | %-2F | %02F | %5C | %-5C | %5E | %-5E | %05E | %5.5A | %5.5R | %-5.5R |" \
-q 2 \
-t 'FW/#' \
-V 5