Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
4941c051a1
|
@ -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
|
||||
```
|
Loading…
Reference in New Issue