Add an error code, "ES_ERRCODE_UNSUPPORTED_WIFI_FREQUENCY", in easy setup 19/17819/3
authorJihun Ha <jihun.ha@samsung.com>
Fri, 10 Mar 2017 02:10:13 +0000 (11:10 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 17 Mar 2017 05:43:43 +0000 (05:43 +0000)
Added error code:
- ES_ERRCODE_UNSUPPORTED_WIFI_FREQUENCY = 13
- An Enrollee can not connect to a target WiFi AP because the AP resides in
  an unsupported WiFi frequency

Change-Id: Ia233e0e5e0bf8bee6dfa4f4b8a0660be325b363f
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17819
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/inc/escommon.h
service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/enums/ESErrorCode.java

index 22afb5f..713ee0f 100755 (executable)
@@ -417,6 +417,12 @@ typedef enum
      */
     ES_ERRCODE_FAILED_TO_FIND_REGISTERED_USER_IN_CLOUD,
 
+    /**
+     * Error Code that an enrollee can not connect to a target WiFi AP because the AP resides in
+     * an unsupported WiFi frequency.
+     */
+    ES_ERRCODE_UNSUPPORTED_WIFI_FREQUENCY,
+
     /**
      * Error Code that Unknown error occured
      */
index 913924c..d94edf2 100755 (executable)
@@ -90,6 +90,12 @@ public enum ESErrorCode {
      */
     ES_ERRCODE_FAILED_TO_FIND_REGISTERED_USER_IN_CLOUD(12),
 
+    /**
+     * Error Code that an enrollee can not connect to a target WiFi AP because the AP resides in
+     * an unsupported WiFi frequency.
+     */
+    ES_ERRCODE_UNSUPPORTED_WIFI_FREQUENCY(13),
+
     /**
      * Error Code that Unknown error occured
      */