Common Device Pairing SDK Error Codes for iOS
In the LMAccessNetJsonModel.h
file of LMAccessNetSDK
, there are enumeration instructions for common error codes.
In the project, you can enumerate through LMAccessNetErrorCode
:
Error code | Error message | Cause Analysis |
---|---|---|
100 | Time out | - |
108 | Wrong token | The token is incorrect or the token has expired, and the token needs to be obtained again |
109 | Missing token | Generally, the user information has expired and you need to log in again |
601 | The device is not registered\n1. Please confirm that the hub has broadcast the voice prompt of "successful network connection", which indicates that the hub has connected to the server. If there is no prompt, please reset the hub and try again. \n2. Please ensure that the router network connected to the hub can connect to the Internet normally. | - |
607 | The device is bound (code:607) | - |
616 | This device does not support use in the current region, and cannot enjoy after-sales service in the current region. In order to enjoy better service and experience, please purchase products from official channels. (If you are sure to use this product, please select the server in the sales area of this product to log in) (code:616) | The device model does not support (can be used for cross-order reminder) |
624 | Binding failed, please try again (code:624) | - |
626 | Device is bound (code:626) | Deprecated |
656 | The device has been bound to another account (cdoe:656) | - |
668 | This device does not support use in the current region, and cannot enjoy after-sales service in the current region. In order to enjoy better service and experience, please purchase products from official channels. (If you are sure to use this product, please select the server in the product sales area to log in) (code:668) | SN channel control |
10000 | Network anomaly | - |
10001 | Please check if the location permission is turned on | - |
10002 | Failed to connect to the hotspot of the device, please switch the hotspot of the device manually | - |
10003 | Parameter exception | - |
10004 | Please check whether the device is waiting for network access (code: 10004) Failed to send network access information | - |
10005 | This access type is not yet supported | |
10006 | Failed to connect to the hotspot of the device, please switch the hotspot of the device manually | Inconsistency between iOS and Android |
10007 | Bluetooth connection disconnected | - |
10008 | Failed to connect to the Bluetooth device, please check whether the device is connected to the network (code: 10008) | - |
10009 | QR code generation failed | - |
10010 | Adding device timed out | Adding device timed out, please try again (code: 10010)\n1. Only 2.4GHz WiFi connection is supported, and make sure that the mobile phone/tablet and the hub are covered by the same Wi-Fi environment;\n2. Please check the Wi-Fi and whether the password is spelled correctly;\n3. If the solution still cannot be resolved after retrying, please contact Aqara customer service |
10012 | Add Sub-Device timeout | - |
10013 | MiHome firmware, need to switch | - |
10015 | Adding device timed out, please try again (5G network is supported | - |