Added new error messge for ZigBee (ACR-884) 53/183253/1
authorsaerome.kim <saerome.kim@samsung.com>
Wed, 4 Jul 2018 00:46:17 +0000 (09:46 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Wed, 4 Jul 2018 01:41:08 +0000 (10:41 +0900)
- Changed error codes from TIZEN_ZIGBEE_ERROR  to TIZEN_ERROR_ZIGBEE.
- Added ZigBee error codes & messages.

Change-Id: Ia4d2577088268b51bcf073c142ebe7d206d97421
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
error_messages/capi-network-zigbee.xml [new file with mode: 0644]
include/tizen_error.h
packaging/capi-base-common.spec

diff --git a/error_messages/capi-network-zigbee.xml b/error_messages/capi-network-zigbee.xml
new file mode 100644 (file)
index 0000000..7ba3db1
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/zigbee">
+       <error name="ZIGBEE_ERROR_INVALID_ENDPOINT">
+               <value>TIZEN_ERROR_ZIGBEE | 0x01</value>
+               <msg>Endpoint 0 is reserved for ZDP</msg>
+       </error>
+       <error name="ZIGBEE_ERROR_INVALID_ADDRESS">
+               <value>TIZEN_ERROR_ZIGBEE | 0x02</value>
+               <msg>Wrong address</msg>
+       </error>
+       <error name="ZIGBEE_ERROR_OPERATION_FAILED">
+               <value>TIZEN_ERROR_ZIGBEE | 0x03</value>
+               <msg>Operation failed</msg>
+       </error>
+</package>
index e0c4777..923741f 100644 (file)
@@ -272,7 +272,7 @@ extern "C" {
 /* Tizen Application Service Platform (ASP) Error */
 #define TIZEN_ERROR_ASP                 -0x02F60000
 /* Tizen Zigbee Error */
-#define TIZEN_ZIGBEE_ERROR              -0x02F70000
+#define TIZEN_ERROR_ZIGBEE              -0x02F70000
 /* Tizen Smart Traffic Control (STC) Error */
 #define TIZEN_ERROR_STC                 -0x02F80000
 /* Tizen Thumbnail Util Error */
index 7216d7a..15d5328 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-base-common
 Summary:    Common header files of Tizen Native API
-Version:    0.4.28
+Version:    0.4.29
 Release:    1
 Group:      Base
 License:    Apache-2.0