The iDigi Connector for Android implements the iDigi protocol in an embedded device allowing it to be discovered and managed by Digi applications, establish communication with the iDigi Device Cloud Portal for remote management, and exchange data between the device and iDigi.
Before starting with the installation process, make sure the embedded device is powered on and connected to the using an Ethernet cable.
The first step is to connect the embedded device with the Android Debug Bridge (ADB). There are two ways to connect with the ADB: using Digi ESP for Android or from a command line console.
In the main Digi ESP for Android window, click the Device Manager button from the Workbench's main toolbar:

Select the configuration you created previously. The Debug Connection Status displays Disconnected.
Click Connect to connect the embedded device with the ADB.
The Debug Connection Status displays Connected now.
If you are working in Linux, issue this command in a shell console:
|
/<android_sdk_path>/platform-tools/adb connect <device_ip_address> |
If you are working in Windows, execute this command in a command line console:
|
"<android_sdk_path>\platform-tools\adb.exe" connect <device_ip_address> |
Where <android_sdk_path> is the path where the Android SDK is installed and <device_ip_address> is the IP address of the device to connect. To retrieve your Android device's IP address, read Tips & Tricks > Retrieving device IP Address
|
You have just learned how to connect your embedded device with the Android Debug Bridge. |
Depending on the operating system you are using, you will need to follow a different set of instructions to install the iDigi Connector for Android.
Open a Windows command line console. To do so, go to Start and type cmd in the search box, then press <Enter>.
Change to the directory where you installed the Android and go to the platform-tools folder. To do so write the following command:
|
cd "<path-to-sdk>\platform-tools" |
Where <path-to-sdk> is the path where the Android is installed.
You need to know the ID of the device to install the iDigi Connector for Android. To do so issue the following command:
|
adb.exe devices |
You will receive an answer like this:
|
List of devices attached |
Where <device-id> is the ID of the Android devices (virtual and physical) connected to your PC.
Now write the following command to install the iDigi Connector for Android:
|
adb.exe -s <device-id> install "<path-to-sdk>\platforms\<api-level>\iDigi Connector\iDigiConnectorAndroid.apk" |
Where <device-id> is the ID of the device where you will install the iDigi Connector for Android, <path-to-sdk> is the path where the Android is installed and <api-level> is the folder of the Android you will use to develop iDigi Android applications.
Wait for the installation process to finish. You will see Success in the console when the service is installed successfully.
Open a shell console.
Change to the directory where you installed the Android and go to the platform-tools folder. To do so write the following command:
|
cd /<path-to-sdk>/platform-tools |
Where <path-to-sdk> is the path where the Android is installed.
You need to know the ID of the device to install the iDigi Connector for Android. To do so issue the following command:
|
./adb devices |
You will receive an answer like this:
|
List of devices attached |
Where <device-id> is the ID of the Android devices (virtual and physical) connected to your PC.
Now write the following command to install the iDigi Connector for Android:
|
./adb -s <device-id> install /<path-to-sdk>/platforms/<api-level>/iDigi Connector/iDigiConnectorAndroid.apk |
Where <device-id> is the ID of the device where you will install the iDigi Connector for Android, <path-to-sdk> is the path where the Android is installed and <api-level> is the folder of the Android you will use to develop iDigi Android applications.
Wait for the installation process to finish. You will see Success in the console when the service is installed successfully.
|
You have just learned how to install an Android application using the Android Debug Bridge. |
Registering the device in iDigi is a necessary step to allow for the remote management of the device, and data exchange between the device and the iDigi server.
Follow these steps to register your embedded device in your iDigi account:
![]()
|
You have just learned how to register your embedded device in iDigi. |
|
Prev. Step |
Home |
Next Step |