Provisioning the device
Each device needs to be provisioned with a unique JSON filedevice.json
that is used for authentication. Refer to the Device Provisioning Guide to download the device configuration file.
Rename the downloaded file to device.json and place it in the uplink data directory (/data/local/tmp/uplink in the example setup).
Running Uplink
The entry point of the example setup isservice.sh
. You should ensure that it’s started at boot with the correct privileges. In an AOSP setup, it would be done by adding a system service (https://android.googlesource.com/platform/system/core/+/master/init/README.md).