pc mqtt
介绍
pc mqtt用于远程监控设备状态并通过mqtt协议发送到HS服务器
多平台编译
amd64
wimdows:
go build client.go
linux:
GOOS=linux GOARCH=amd64 go build client.go
armv7
linux:
GOARM=7 GOOS=linux GOARCH=arm CC=/home/wuqiyang/gcc/arm-none-linux-gnueabihf-13.3/bin/arm-none-linux-gnueabihf-gcc go build client.go