Skip to content

Commit

Permalink
Merge pull request #86 from RyanZhaoXB/main-remove-binary
Browse files Browse the repository at this point in the history
remove deprecated binary and update some README file
  • Loading branch information
kubeedge-bot authored Jan 16, 2023
2 parents 2ed8bcb + 92e17ae commit 0a45c58
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 0 deletions.
Binary file removed mappers/ble/bin/ble
Binary file not shown.
Binary file removed mappers/ble/bin/ble_linux_amd64
Binary file not shown.
Binary file removed mappers/modbus/bin/modbus
Binary file not shown.
Binary file removed mappers/modbus/bin/modbus_linux_amd64
Binary file not shown.
27 changes: 27 additions & 0 deletions mappers/onvif/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,30 @@ Supported functions:

Notes:
- The password or certification files should be passed to the mapper. You could mount them in the docker file by "COPY" or mount as kubernetes secret.

- Build a mapper of `onvif` with command:
```
make mapper onvif build
```
and find the binary in `mappers-go/mappers/onvif/bin/`

- If you fail to build the mapper of `onvif`, please install the dependences with command:
```
sudo apt-get update &&
sudo apt-get install -y upx-ucl gcc-aarch64-linux-gnu libc6-dev-arm64-cross gcc-arm-linux-gnueabi libc6-dev-armel-cross libva-dev libva-drm2 libx11-dev libvdpau-dev libxext-dev libsdl1.2-dev libxcb1-dev libxau-dev libxdmcp-dev yasm
```
and install ffmpeg with commond:
```
sudo curl -sLO https://ffmpeg.org/releases/ffmpeg-4.1.6.tar.bz2 &&
tar -jx --strip-components=1 -f ffmpeg-4.1.6.tar.bz2 &&
./configure && make &&
sudo make install
```
- Build an image of onvif mapper with command:
```
make mapper onvif package
```
and get the infomation of the image with command:
```
docker images onvif-mapper
```
15 changes: 15 additions & 0 deletions mappers/opcua/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,18 @@ Please configuration the device instance and device model. You could refer to th
Float
Double
- The get device status function "driver.GetStatus" should be written depending the device.

- Build a mapper of `opcua` with command:
```
make mapper opcua build
```
and find the binary in `mappers-go/mappers/opcua/bin/`

- Build an image of opcua mapper with command:
```
make mapper opcua package
```
and get the infomation of the image with command:
```
docker images opcua-mapper
```
Binary file removed mappers/opcua/bin/opcua
Binary file not shown.
Binary file removed mappers/opcua/bin/opcua_linux_amd64
Binary file not shown.

0 comments on commit 0a45c58

Please sign in to comment.