2020-06-01 13:22:04 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-09-08 13:40:45 -07:00
2020-06-01 13:22:04 -07:00

The Default ("master") branch is our release branch that is for production use. All other branches are pre-production and should not be used for production deployments.

Remote Provisioning Client (RPC)

RPC is an application which enables remote capabilities for AMT, such as as device activation. To accomplish this, RPC communicates with the RPS (Remote Provisioning Server).

Linux

Steps below are for Ubuntu 18.04.

Dependencies

sudo apt install git cmake build-essential libboost-system-dev  libboost-thread-dev libboost-random-dev libboost-regex-dev libboost-filesystem-dev libssl-dev zlib1g-dev

Build

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

To build debug:

cmake -DCMAKE_BUILD_TYPE=Debug ..

Run

sudo ./rpc --url wss://localhost:8080 --cmd "-t activate --profile profile1"

Use --help for more options.

Windows

Steps below are for Windows 10 and Visual Studio 2019 Professional.

Build VCPKG

Open an x64 native command prompt for Visual Studio 2019 as Administrator.

git clone --branch 2020.01 https://github.com/microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
vcpkg integrate install

Build C++ REST SDK

Open an x64 native tools command prompt for Visual Studio 2019.

cd vcpkg
vcpkg install cpprestsdk:x64-windows-static

Build

Open an x64 native tools command prompt for Visual Studio 2019.

mkdir build
cd build
cmake .. -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_TOOLCHAIN_FILE=/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release

To build debug:

cmake --build . --config Debug

Run

Open a command prompt as Administrator.

cd build\Release
rpc.exe --url wss://localhost:8080 --cmd "-t activate --profile profile1"

Use --help for more options.

Description
string
Readme 3.5 MiB
Languages
C 88.1%
C++ 10.3%
CMake 1.1%
Batchfile 0.2%
Dockerfile 0.2%
Other 0.1%