From: lankamadan Date: Wed, 9 Sep 2015 02:41:01 +0000 (+0900) Subject: Added missing license headers to Java files X-Git-Tag: 1.2.0+RC1~597^2^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd9725fb7f33295aa5e79eff70843d6c781d843b;p=platform%2Fupstream%2Fiotivity.git Added missing license headers to Java files - Added license header - Performed code formatting using Android style Change-Id: I614ecc9309577f975be4f353d09efdc56071b9b0 Signed-off-by: lankamadan Reviewed-on: https://gerrit.iotivity.org/gerrit/2415 Tested-by: jenkins-iotivity --- diff --git a/service/easy-setup/sampleapp/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/MainActivity.java b/service/easy-setup/sampleapp/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/MainActivity.java old mode 100644 new mode 100755 index 69b81e0..f0b90c1 --- a/service/easy-setup/sampleapp/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/MainActivity.java +++ b/service/easy-setup/sampleapp/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/MainActivity.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup; import java.io.IOException; @@ -7,10 +29,8 @@ import org.iotivity.service.easysetup.core.EasySetupStatus; import org.iotivity.service.easysetup.core.EnrolleeDevice; import org.iotivity.service.easysetup.core.EnrolleeState; import org.iotivity.service.easysetup.impl.EnrolleeDeviceFactory; -import org.iotivity.service.easysetup.impl.EnrolleeDeviceWiFiOnboarding; import org.iotivity.service.easysetup.impl.WiFiOnBoardingConfig; import org.iotivity.service.easysetup.impl.WiFiProvConfig; -import org.iotivity.service.easysetup.mediator.EnrolleeInfo; import org.iotivity.service.easysetup.mediator.ProvisionEnrollee; import android.app.Activity; @@ -18,7 +38,6 @@ import android.content.Intent; import android.graphics.Bitmap; import android.net.wifi.WifiConfiguration; import android.os.Bundle; -import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; @@ -49,42 +68,46 @@ public class MainActivity extends Activity { textView1 = (TextView) findViewById(R.id.textView1); - // Provisioning Process + // Provisioning Process - This instantiation will be removed in the next version provisionEnrolleInstance = new ProvisionEnrollee(this); - /* Invocation of APIs using the Easy Setup SDK APIs */ /* Create Easy Setup Service instance*/ - mEasySetupService = EasySetupService.getInstance(getApplicationContext(), new EasySetupStatus() { + mEasySetupService = EasySetupService.getInstance(getApplicationContext(), + new EasySetupStatus() { - @Override - public void onFinished(EnrolleeDevice enrolledevice) { - final String msg = enrolledevice.isSetupSuccessful() ? "Device configured successfully" : "Device configuration failed"; - runOnUiThread(new Runnable() { @Override - public void run() { - Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_SHORT).show(); + public void onFinished(EnrolleeDevice enrolledevice) { + final String msg = enrolledevice.isSetupSuccessful() ? + "Device configured successfully" : "Device configuration failed"; + runOnUiThread(new Runnable() { + @Override + public void run() { + Toast.makeText(getApplicationContext(), + msg, Toast.LENGTH_SHORT).show(); + } + }); } - }); - } - @Override - public void onProgress(EnrolleeState state) { - runOnUiThread(new Runnable() { @Override - public void run() { - Toast.makeText(getApplicationContext(), "Device state changed", Toast.LENGTH_SHORT).show(); + public void onProgress(EnrolleeState state) { + runOnUiThread(new Runnable() { + @Override + public void run() { + Toast.makeText(getApplicationContext(), + "Device state changed", Toast.LENGTH_SHORT).show(); + } + }); } - }); - } - }); + }); /* Create EnrolleeDevice Factory instance*/ mDeviceFactory = EnrolleeDeviceFactory.newInstance(getApplicationContext()); /* Create a device using Factory instance*/ - mDevice = mDeviceFactory.newEnrolleeDevice(getOnBoardingWifiConfig(), getEnrollerWifiConfig()); + mDevice = mDeviceFactory.newEnrolleeDevice(getOnBoardingWifiConfig(), + getEnrollerWifiConfig()); addListenerForStartAP(); addListenerForStopAP(); diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ConnectionInterface.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ConnectionInterface.java index 1354538..4a0808b 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ConnectionInterface.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ConnectionInterface.java @@ -1,3 +1,24 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ package org.iotivity.service.easysetup.core; public interface ConnectionInterface { diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupService.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupService.java old mode 100644 new mode 100755 index 837b784..6707ecf --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupService.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupService.java @@ -1,7 +1,28 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; import android.content.Context; -import android.util.Log; import org.iotivity.service.easysetup.impl.EnrolleeDeviceFactory; @@ -12,7 +33,8 @@ import java.util.ArrayList; * This is facade class, a single point of contact for Application. * It contains set of APIs to do easy setup of the enrolling device. * ON-BOARDING - This is a step to establish connectivity between the device & Mediator device. - * PROVISION - This is a step where the netowork's detail & credentials are given to the enrolling device. + * PROVISION - This is a step where the netowork's detail & credentials are given to the + * enrolling device. */ public class EasySetupService { @@ -40,10 +62,12 @@ public class EasySetupService { /** * Gives a singleton instance of Easy setup service. * - * @param callback Application needs to provide this callback to receive the status of of easy setup process. + * @param callback Application needs to provide this callback to receive the status of easy + * setup process. */ - public synchronized static EasySetupService getInstance(Context context, EasySetupStatus callback) { + public synchronized static EasySetupService getInstance(Context context, EasySetupStatus + callback) { if (sInstance == null) { sInstance = new EasySetupService(callback); mContext = context; diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupStatus.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupStatus.java index 4ec7712..4ba7fba 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupStatus.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EasySetupStatus.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; /** diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeDevice.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeDevice.java old mode 100644 new mode 100755 index e7577d1..5a7c823 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeDevice.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeDevice.java @@ -1,8 +1,32 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; /** - * This is an abstract class represents the device being provisioned into the network. The device being enrolled or provisioned into the network is called Enrollee. - * Application has to extend this class and provide implementation of abstract methods according to the ON-BOARDING & PROVISION connectivity i.e. WiFi, BLE, BT etc. the device is having. + * This is an abstract class represents the device being provisioned into the network. The + * device being enrolled or provisioned into the network is called Enrollee. + * Application has to extend this class and provide implementation of abstract methods according + * to the ON-BOARDING & PROVISION connectivity i.e. WiFi, BLE, BT etc. the device is having. */ public abstract class EnrolleeDevice { @@ -18,8 +42,11 @@ public abstract class EnrolleeDevice { protected ProvisioningCallback mProvisioningCallback; /** - * @param onBoardingConfig Contains details about the connectivity to be established between the Enrollee device & Mediator device in order to perform on-boarding - * @param provConfig Contains details about the network to which Enrollee device is going to connect. + * @param onBoardingConfig Contains details about the connectivity to be established between + * the Enrollee device & Mediator device in order to perform + * on-boarding + * @param provConfig Contains details about the network to which Enrollee device is + * going to connect. */ protected EnrolleeDevice(OnBoardingConfig onBoardingConfig, ProvisioningConfig provConfig) { mProvConfig = provConfig; @@ -27,7 +54,8 @@ public abstract class EnrolleeDevice { } /** - * Application has to implement it according to the on boarding connectivity the device is having. + * Application has to implement it according to the on boarding connectivity the device is + * having. * This method will be called back during the easy setup process. */ protected abstract void startOnBoardingProcess(); @@ -40,15 +68,18 @@ public abstract class EnrolleeDevice { protected abstract void stopOnBoardingProcess(); /** - * Application has to implement it according to the type of the network device is going to connect or provisioned. + * Application has to implement it according to the type of the network device is going to + * connect or provisioned. * This method will be called back once on-boarding of the device is successful. * - * @param conn Contains detail about the network established between the Enrollee device & Mediator device. Its implementation vary according to the connectivity type. + * @param conn Contains detail about the network established between the Enrollee device & + * Mediator device. Its implementation vary according to the connectivity type. */ protected abstract void startProvisioningProcess(ConnectionInterface conn); /** - * Once on boarding is successful concrete Enrollee class would call this method and set the Connection. + * Once on boarding is successful concrete Enrollee class would call this method and set the + * Connection. * * @param conn Connectivity between Enrollee device & Mediator device. */ diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeSetupError.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeSetupError.java index 3a2ef4b..4c38cb1 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeSetupError.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeSetupError.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; /** diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeState.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeState.java index cb74de6..6b91254 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeState.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/EnrolleeState.java @@ -1,5 +1,26 @@ -package org.iotivity.service.easysetup.core; +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ +package org.iotivity.service.easysetup.core; /** * It defines various states of the Enrollee device during easy setup process diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/IpConnection.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/IpConnection.java index 6140ca9..b4096b9 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/IpConnection.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/IpConnection.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; public class IpConnection implements ConnectionInterface { @@ -19,19 +41,16 @@ public class IpConnection implements ConnectionInterface { @Override public String getDesc() { - // TODO Auto-generated method stub return "Description"; } @Override public boolean isConnected() { - // TODO Auto-generated method stub return mIsConnected; } @Override public Object getConnection() { - // TODO Auto-generated method stub return this; } diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingCallback.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingCallback.java index f7314de..3fa2ced 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingCallback.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingCallback.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; public abstract class OnBoardingCallback { diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingConfig.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingConfig.java old mode 100644 new mode 100755 index b8f96ba..24978e7 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingConfig.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/OnBoardingConfig.java @@ -1,7 +1,30 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; /** - * It contains configuration details about the connectivity type between the Enrollee device & Mediator device in order to perform on-boarding. + * It contains configuration details about the connectivity type between the Enrollee device & + * Mediator device in order to perform on-boarding. */ public interface OnBoardingConfig { diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningCallback.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningCallback.java index d8ddb58..887530a 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningCallback.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningCallback.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.core; public abstract class ProvisioningCallback { diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningConfig.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningConfig.java old mode 100644 new mode 100755 index 6792cc6..67fe38e --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningConfig.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/core/ProvisioningConfig.java @@ -1,7 +1,29 @@ -package org.iotivity.service.easysetup.core; +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ +package org.iotivity.service.easysetup.core; /** - * It contains configuration details about the the target network where Enrollee device is going to be enrolled. + * It contains configuration details about the the target network where Enrollee device is + * going to be enrolled. */ public interface ProvisioningConfig { @@ -14,7 +36,8 @@ public interface ProvisioningConfig { } /** - * Gives the instance of the configuration object created according to the connectivity type of target network. + * Gives the instance of the configuration object created according to the connectivity + * type of target network. * * @return instance object of configuration according to connectivity type of target network */ diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceFactory.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceFactory.java index 145e2ea..97363fa 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceFactory.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceFactory.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.impl; import org.iotivity.service.easysetup.core.EnrolleeDevice; diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceWiFiOnboarding.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceWiFiOnboarding.java old mode 100644 new mode 100755 index db57a77..9b70913 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceWiFiOnboarding.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/EnrolleeDeviceWiFiOnboarding.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.impl; import java.util.Timer; @@ -47,12 +69,6 @@ public class EnrolleeDeviceWiFiOnboarding extends EnrolleeDevice { finalResult = "Device OnBoarded" + "[" + enrolleStatus.getIpAddr() + "]"; - /* - * easySetupInstance.StartEasySetup(enrolleStatus.getIpAddr()) ; - * easySetupCount++; Log.i("EasyConnect", - * "easy Setup Count-"+easySetupCount); Log.i("EasyConnect", - * "IP Address-"+enrolleStatus.getIpAddr()); - */ connectedDevice = enrolleStatus; IpConnection conn = new IpConnection(); conn.setConnectivity(true); @@ -62,22 +78,6 @@ public class EnrolleeDeviceWiFiOnboarding extends EnrolleeDevice { return; } - -/* textView1.setText(""); - textView1.append("Clients: \n"); - textView1.append("####################\n"); - textView1.append("IP Address : " + enrolleStatus.getIpAddr() - + "\n"); - textView1.append("Device : " + enrolleStatus.getDevice() + "\n"); - textView1.append("HW Address : " + enrolleStatus.getHWAddr() - + "\n"); - textView1.append("Is OnBoarded : " + enrolleStatus.isReachable() - + "\n"); - - Toast.makeText(getApplicationContext(), finalResult, - Toast.LENGTH_LONG).show();*/ - - } IpConnection conn = new IpConnection(); @@ -95,12 +95,6 @@ public class EnrolleeDeviceWiFiOnboarding extends EnrolleeDevice { @Override protected void startOnBoardingProcess() { - // TODO Auto-generated method stub - - //2. Get call back once enrolling device connect to the Soft AP - //3. fetch the IP assigned to enrolling device - //4. Call below steps - Log.i(TAG, "Starging on boarding process"); //1. Create Soft AP @@ -108,7 +102,6 @@ public class EnrolleeDeviceWiFiOnboarding extends EnrolleeDevice { Log.i(TAG, "Soft AP is created with status " + status); - Timer myTimer; myTimer = new Timer(); myTimer.schedule(new TimerTask() { @@ -119,8 +112,6 @@ public class EnrolleeDeviceWiFiOnboarding extends EnrolleeDevice { } }, 0, 5000); - - } protected void stopOnBoardingProcess() { diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiOnBoardingConfig.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiOnBoardingConfig.java old mode 100644 new mode 100755 index 1bf863d..4d55218 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiOnBoardingConfig.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiOnBoardingConfig.java @@ -1,6 +1,27 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.impl; -import org.iotivity.service.easysetup.core.ConnectionInterface; import org.iotivity.service.easysetup.core.IpConnection; import org.iotivity.service.easysetup.core.OnBoardingConfig; @@ -19,7 +40,6 @@ public class WiFiOnBoardingConfig implements OnBoardingConfig { @Override public Object getConfig() { - // TODO Auto-generated method stub return config; } @@ -41,20 +61,6 @@ public class WiFiOnBoardingConfig implements OnBoardingConfig { @Override public ConnType getConnType() { - // TODO Auto-generated method stub return mConnType; } - -/* @Override - public OnBoardingConnection getConnection() { - // TODO Auto-generated method stub - return mConnection; - } - - @Override - public void setConnection(OnBoardingConnection conn) { - mConnection = (IpConnection)conn; - }*/ - - } diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiProvConfig.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiProvConfig.java index f2c8ab0..72ffb5e 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiProvConfig.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/impl/WiFiProvConfig.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.impl; import org.iotivity.service.easysetup.core.ProvisioningConfig; @@ -28,7 +50,6 @@ public class WiFiProvConfig implements ProvisioningConfig { @Override public ConnType getConnType() { - // TODO Auto-generated method stub return mConnType; } diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupCallbackHandler.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupCallbackHandler.java old mode 100644 new mode 100755 index 3c93be1..cb06fb8 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupCallbackHandler.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupCallbackHandler.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ package org.iotivity.service.easysetup.mediator; @@ -37,7 +37,6 @@ public class EasySetupCallbackHandler { } public void ProvisioningStatusCallBack(int statuscode) { - // TODO Auto-generated method stub Log.d(TAG, "onFinishProvisioning() inside Android Java application. statuscode - " + statuscode); diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupManager.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupManager.java old mode 100644 new mode 100755 index dcb99e4..dd4c33b --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupManager.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EasySetupManager.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ package org.iotivity.service.easysetup.mediator; diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeInfo.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeInfo.java old mode 100644 new mode 100755 index db3b737..37adeaa --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeInfo.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeInfo.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeOnBoardingInfo.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeOnBoardingInfo.java old mode 100644 new mode 100755 index 1abf5f4..5fe3f80 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeOnBoardingInfo.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/EnrolleeOnBoardingInfo.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ package org.iotivity.service.easysetup.mediator; diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IOnBoardingStatus.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IOnBoardingStatus.java old mode 100644 new mode 100755 index 23cec64..03fb342 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IOnBoardingStatus.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IOnBoardingStatus.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ package org.iotivity.service.easysetup.mediator; @@ -31,8 +31,7 @@ public interface IOnBoardingStatus { * Interface called when the scan method finishes. Network operations should * not execute on UI thread * - * @param clients - * of {@link EnrolleeInfo} + * @param clients of {@link EnrolleeInfo} */ public void deviceOnBoardingStatus(EnrolleeInfo clients); diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IProvisioningListener.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IProvisioningListener.java old mode 100644 new mode 100755 index 8106382..315bef8 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IProvisioningListener.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/IProvisioningListener.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ package org.iotivity.service.easysetup.mediator; diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/OnBoardEnrollee.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/OnBoardEnrollee.java old mode 100644 new mode 100755 index 3bffc96..e926bf2 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/OnBoardEnrollee.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/OnBoardEnrollee.java @@ -1,22 +1,22 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ package org.iotivity.service.easysetup.mediator; @@ -24,9 +24,8 @@ package org.iotivity.service.easysetup.mediator; import android.content.Context; import android.net.wifi.WifiConfiguration; -import org.iotivity.service.easysetup.mediator.ip.WiFiSoftAPManager; -import android.widget.Toast; +import org.iotivity.service.easysetup.mediator.ip.WiFiSoftAPManager; public class OnBoardEnrollee { WiFiSoftAPManager wifiSoftAPManager; diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ProvisionEnrollee.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ProvisionEnrollee.java index 79dd916..30d7a07 100644 --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ProvisionEnrollee.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ProvisionEnrollee.java @@ -1,3 +1,25 @@ +/** + * *************************************************************** + *

+ * Copyright 2015 Samsung Electronics All Rights Reserved. + *

+ *

+ *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *

+ * **************************************************************** + */ + package org.iotivity.service.easysetup.mediator; import android.content.Context; @@ -36,7 +58,6 @@ public class ProvisionEnrollee { } public void ProvisioningStatusCallBack(int statuscode) { - // TODO Auto-generated method stub Log.d(TAG, "onFinishProvisioning() inside Android Java application. statuscode - " + statuscode); diff --git a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ip/WiFiSoftAPManager.java b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ip/WiFiSoftAPManager.java old mode 100644 new mode 100755 index 3aef566..cbd7cfa --- a/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ip/WiFiSoftAPManager.java +++ b/service/easy-setup/sdk/mediator/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/ip/WiFiSoftAPManager.java @@ -1,24 +1,25 @@ /** * *************************************************************** - *

+ *

* Copyright 2015 Samsung Electronics All Rights Reserved. - *

- *

- *

+ *

+ *

+ *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

+ *

* http://www.apache.org/licenses/LICENSE-2.0 - *

+ *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - *

+ *

* **************************************************************** */ + package org.iotivity.service.easysetup.mediator.ip; import java.io.BufferedReader; @@ -176,8 +177,7 @@ public class WiFiSoftAPManager { * Note: Starting Wi-Fi Soft Access Point will disable the Wi-Fi normal operation. *

* - * @param wifiConfig - * SSID, security and channel details as part of WifiConfiguration + * @param wifiConfig SSID, security and channel details as part of WifiConfiguration * @return {@code true} if the operation succeeds, {@code false} otherwise */ public boolean setWifiApEnabled(WifiConfiguration wifiConfig, @@ -250,10 +250,8 @@ public class WiFiSoftAPManager { /** * Gets a list of the Soft AP clients connected to the Wi-Fi Soft Access point * - * @param finishListener - * Interface called when the scan method finishes - * @param reachableTimeout - * Reachable Timeout in miliseconds + * @param finishListener Interface called when the scan method finishes + * @param reachableTimeout Reachable Timeout in miliseconds */ public void getClientList(IOnBoardingStatus finishListener, final int reachableTimeout) { this.finishListener = finishListener;