dashboard
repositories
filestore
activity
search
login
main
/
apue
APUE course source code
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
update socketd code to fix break bug
guowenxue
2025-12-19
ea0d38e43e09982679585f6d679e12d79c4389d5
[apue.git]
/
project
/
4.mqttd
/
tools
/
subsciber.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
hostname="weike-iot.com"
port=8013
uid="lingyun"
pwd="lingyun"
options="-h $hostname -p $port -u $uid -P $pwd"
topic="\$Sys/Studio/Uplink"
set -x
mosquitto_sub $options -t $topic