-
- Scan QR code to start enrollment
-
-
- Please scan the QR code using your mobile device to retrieve enrollment URL.
-
-
+
Scan QR code to start enrollment
+
Please scan the QR code using your mobile device to retrieve enrollment URL.
-
-
\ No newline at end of file
+{{#zone "topCss"}}
+
+{{/zone}}
+
+{{#zone "bottomJs"}}
+
+{{/zone}}
\ No newline at end of file
diff --git a/features/device-mgt-mdm-android-feature/org.wso2.carbon.device.mgt.mobile.android.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/type-view.js b/features/device-mgt-mdm-android-feature/org.wso2.carbon.device.mgt.mobile.android.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/type-view.js
new file mode 100644
index 0000000000..357eb81a61
--- /dev/null
+++ b/features/device-mgt-mdm-android-feature/org.wso2.carbon.device.mgt.mobile.android.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.type-view/type-view.js
@@ -0,0 +1,6 @@
+function onRequest(context){
+ var viewModel = {};
+ var devicemgtProps = require('/app/conf/devicemgt-props.js').config();
+ viewModel.enrollmentURL = devicemgtProps.enrollmentURL;
+ return viewModel;
+}
\ No newline at end of file
diff --git a/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js b/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js
index 67194ccf96..d8e8c14570 100644
--- a/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js
+++ b/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js
@@ -4,7 +4,7 @@ function onRequest(context) {
var deviceId = request.getParameter("id");
if (deviceType != null && deviceType != undefined && deviceId != null && deviceId != undefined) {
- var deviceModule = require("/modules/device.js").deviceModule;
+ var deviceModule = require("/app/modules/device.js").deviceModule;
var device = deviceModule.viewDevice(deviceType, deviceId);
if (device) {
diff --git a/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs b/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs
index 81948faa22..5ebbd89f6f 100644
--- a/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs
+++ b/features/device-mgt-mdm-windows-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs
@@ -5,7 +5,7 @@
to the WSO2 device cloud.
-
+
Ingredients
@@ -13,83 +13,43 @@
Hardware Requirements
-
-
-
- Raspberry Pi (Internet Enabled)
-
-
-
- DHT11 Temperature Sensor
-
-
-
- LED
-
-
-
- Buzzer(3v)
+
+ -
+ Windows Mobile
+ -
+ QR Code Scanner App
+
-
-
Download
-
+
+ Enroll Device
-
-
Prepare
-
Get your device ready
-
-
-
01 Set up your RaspberryPi device as shown in the schematic below and get the FireAlarm setup.
-
02 Connect a monitor to your RaspberryPi via the HDMI cable to get a UI view of the device.
-
03 Get the RaspberryPi to connect to the internet (via Ethernet or Wifi) and note its IP_ADDRESS
-
-
-
-
-
-
Schematic Diagram
-
Click on the image to zoom
-
-
-
-
-
-
-
-
Connect (Quick Start)
-
Internet of Things Foundation Quickstart connection
+
Quickstart connection
-
-
01 Click on the 'Create DEB' button above to get the download link for the FireAlarm setup files
-
02 (The following commands can be issued by directly typing into the terminal of the device or by an 'ssh' login from a remote PC)
-
03 Download the FireAlarm setup files using the following command: 'curl -k < url_link_received_from_the_above_step >> Agent.zip'
This will download a zip file named 'Agent.zip'
-
+
+ - 01 Click on `Enroll Device`
+ - 02 Get your mobile and scan the QR Code to download the Agent App
+ - 03 Once downloaded, start installing and follow the instructions
+