dashboard
repositories
filestore
activity
search
login
main
/
apue
APUE course source code
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Add UDP DNS client source code
guowenxue
2 days ago
68826376ee5f47783c644c6604f4411ec747cd7e
[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