iOS
WSO2 IoT Server (WSO2 IoTS) supports devices on iOS 7, 8, 9 and 10. The following subsections explain how you can work with the iOS device type:
Before you start, make sure that your system administrator does all the required configurations to configure the iOS device type in WSO2 IoTS.
Enroll an iOS device
Follow the instructions given below to enroll an iOS device:
Sign in to the WSO2 IoTS Device Management Console.
- Click Enroll New Device.
Click iOS to enroll your device with WSO2 IoTS.
The IoTS registration screen appears in the Safari browser. iOS devices need the root certificate to be downloaded to trust the server certificate. If the certificate is a self-signed SSL certificate, tap Install IoTS Certificate, else go to step 5.Tap Install as required to download the root certificate. The IoTS registration screen appears.
Tip
If you are using iOS 10 with a self-signed certificate, do the following to mark it as a trusted certificate. This is required in iOS 10 because there is a change in how self-signed CA certificates are trusted by iOS devices from iOS 10 onwards.
- Open the Certificate Trust Settings found in Settings>General>About.
Enable full trust for the certificate related to WSO2 IoT Server.
- Tap Install IoTS Agent as shown in step 3.
After the IoTS agent is installed, click on the WSO2 IoTS app on your device to start the registration.
Getting an Untrusted Enterprise Developer message?
When you open the WSO2 IoTS app for the first time, you may see the Untrusted Enterprise Developer message.
Tap Allow to let the WSO2 Agent access your device location.
Enter your server address, based on your environment, in the text box provided.
- Developer Environment - Enter your entire server address as your server address.
Example:https://10.10.10.123:9443
- Deployment Environment - Enter your domain as your server address.
- Developer Environment - Enter your entire server address as your server address.
- Tap Start Registration.
- Enter your details:
- Domain - Enter the domain only if the server is hosted with multi-tenant support.
- Username - Enter the username that you provided when registering with WSO2 IoTS.
- Password - Enter the password that you provided when registering with WSO2 IoTS.
By default, WSO2 IoTS only supports the BYOD registration process for the iOS platform.
- Tap Login.
Read the End User License Agreement (EULA) and tap I accept the terms.
Tap Install where ever required to install the WSO2 Profile Service.
A warning message appears to indicate that by installing the profile, WSO2 IoTS has access to remotely manage the iOS device.
Tap Install.
Tap Trust to confirm that you are aware of the device being remotely managed by installing the profile.
After the profile is installed, click Done.
Upon the successful registration, the following confirmation appears.
Thereafter, your browser automatically closes and after 1 or 2 seconds, the native iOS Agent is loaded.
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 WSO2 IoTS Device Management page to view all the created devices.
Click the view icon on the iOS device you enrolled.
This directs you to the device details page where you can view the device information and try out operations on a device.