dashboard
repositories
filestore
activity
search
login
main
/
apue
APUE course source code
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
update udp server example code
guowenxue
2 days ago
175027cd66b49a1bc21ad2070cd4e1abc45b030a
[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