In this tutorial, you are enrolling your Android device also known as Bring Your Own Device (BYOD) with WSO2 IoT Server. WSO2 IoTS supports devices on Android version 4.2.x to 7.0 (Android Jelly Beans to Nougat). If you want to enroll a Corporate-Owned, Personally Enabled (COPE) device, you need to configure WSO2 IoT Server is the system service application and install the configured Android agent on the device.
The following subsections explain how you can work with the Android device type:
Before you begin
Android restricts third-party apps and less secure apps from being installed on the device. Therefore, you need to configure your device to disable this restriction as the WSO2 IoT Server device management agent application acts as a third-party application.Click here for more information on how to enable third party application installations.
Start WSO2 IoT Server by starting the two profiles in the following order:
Start the core profile, which corresponds to the WSO2 Connected Device Management Framework (WSO2 CDMF) profile.
The default port assigned for the core is 9443.
Start the analytics profile, which corresponds to the WSO2 Data Analytics Server profile.
The default port assigned for analytics is 9445.
Enroll an Android device
Follow the instructions given below to enroll an Android device:
Try it out
You can view device details and carry out operations on your device, after successfully enrolling it with WSO2 IoTS. Let's take a look at how you can do it:
Navigate to the Device Management page to view all the created devices.
Click the view icon on the Android device you enrolled.
You will be directed to the device details page where you can view the device information and try out operations on a device.
View device detailsDevice operations