2 * ***************************************************************
4 * Copyright 2015 Samsung Electronics All Rights Reserved.
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
20 * ****************************************************************
23 package org.iotivity.service.easysetup.impl;
25 import org.iotivity.service.easysetup.core.ProvisioningConfig;
26 import org.iotivity.service.easysetup.mediator.EnrolleeInfo;
28 import android.net.wifi.WifiConfiguration;
31 * This class contains on provisioning configuration information for for target network.
32 * It implements ProvisioningConfig interface and provide configuration object specific to WiFi target network
34 public class WiFiProvConfig implements ProvisioningConfig {
36 private final ConnType mConnType = ProvisioningConfig.ConnType.WiFi;
38 private final String mSsId;
39 private final String mPassword;
41 public WiFiProvConfig(String ssid, String pass) {
47 public Object getConfig() {
52 public ConnType getConnType() {
56 public String getSsId() {
60 public String getPassword() {