兼容枚举
| 新定义枚举
|
|
|
XPGWifiErrorCode
| GizWifiErrorCode
|
|
|
0
| XPGWifiError_NONE
| 0
| GIZ_SDK_SUCCESS
|
-1
| XPGWifiError_GENERAL
| 8100
| GIZ_SDK_OTHERWISE
|
-7
| XPGWifiError_CONNECTION_CLOSED
| 8047
| GIZ_SDK_CONNECTION_CLOSED
|
-9
| XPGWifiError_LOGIN_VERIFY_FAILED
| 8049
| GIZ_SDK_DEVICE_LOGIN_VERIFY_FAILED
|
-11
| XPGWifiError_NOT_CONNECTED
| 8029
| GIZ_SDK_DEVICE_NOT_SUBSCRIBED
|
-15
| XPGWifiError_THREAD_CREATE
| 8102
| GIZ_SDK_THREAD_CREATE_FAILED
|
-19
| XPGWifiError_CONNECTION_ERROR
| 8046
| GIZ_SDK_CONNECTION_ERROR
|
-20
| XPGWifiError_INVALID_PARAM
| 8006
| GIZ_SDK_PARAM_INVALID
|
8033
| GIZ_SDK_DEVICE_CONTROL_WITH_INVALID_COMMAND
|
|
|
8036
| GIZ_SDK_DEVICE_CONTROL_VALUE_TYPE_ERROR
|
|
|
8037
| GIZ_SDK_DEVICE_CONTROL_VALUE_OUT_OF_RANGE
|
|
|
8038
| GIZ_SDK_DEVICE_CONTROL_NOT_WRITABLE_COMMAND
|
|
|
-21
| XPGWifiError_CONNECT_TIMEOUT
| 8044
| GIZ_SDK_CONNECTION_TIMEOUT
|
-23
| XPGWifiError_INSUFFIENT_MEM
| 8101
| GIZ_SDK_MEMORY_MALLOC_FAILED
|
-25
| XPGWifiError_HTTP_FAIL
| 8099
| GIZ_SDK_HTTP_REQUEST_FAILED
|
-27
| XPGWifiError_DNS_FAILED
| 8041
| GIZ_SDK_DNS_FAILED
|
-30
| XPGWifiError_UDP_PORT_BIND_FAILED
| 8004
| GIZ_SDK_UDP_PORT_BIND_FAILED
|
-39
| XPGWifiError_CONFIGURE_SSID_NOT_MATCHED
| 8310
| GIZ_SDK_PHONE_NOT_CONNECT_TO_SOFTAP_SSID
|
8311
| GIZ_SDK_DEVICE_CONFIG_SSID_NOT_MATCHED
|
|
|
-40
| XPGWifiError_CONFIGURE_TIMEOUT
| 8023
| GIZ_SDK_DEVICE_CONFIG_TIMEOUT
|
8308
| GIZ_SDK_REQUEST_TIMEOUT
|
|
|
-41
| XPGWifiError_CONFIGURE_SENDFAILED
| 8021
| GIZ_SDK_DEVICE_CONFIG_SEND_FAILED
|
-42
| XPGWifiError_NOT_IN_SOFTAPMODE
| 8312
| GIZ_SDK_NOT_IN_SOFTAPMODE
|
-45
| XPGWifiError_CONNECTION_REFUSED
| 8045
| GIZ_SDK_CONNECTION_REFUSED
|
-46
| XPGWifiError_IS_RUNNING
| 8022
| GIZ_SDK_DEVICE_CONFIG_IS_RUNNING
|
8315
| GIZ_SDK_PRODUCT_IS_DOWNLOADING
|
|
|
-47
| XPGWifiError_UNSUPPORTED_API
| 8307
| GIZ_SDK_UNSUPPORTED_API
|
-49
| XPGWifiError_START_SDK_FAILED
| 8002
| GIZ_SDK_CLIENT_NOT_AUTHEN
|