pc_mqtt/README.md

29 lines
410 B
Markdown
Raw Normal View History

# 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
```