diff --git a/REAME.md b/REAME.md new file mode 100644 index 0000000..9a553bf --- /dev/null +++ b/REAME.md @@ -0,0 +1,29 @@ +# pc mqtt + +# 介绍 + +pc mqtt用于远程监控设备状态并通过mqtt协议发送到HS服务器 + +# 多平台编译 + +## amd64 + +### wimdows: + +```cmd +go build client.go +``` + +### linux: + +```shell +GOOS=linux GOARCH=amd64 go build client.go +``` + +## armv7 + +### linux: + +```shell +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 +``` \ No newline at end of file