harmony 鸿蒙Device Status Awareness Error Codes
Device Status Awareness Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
32500001 Abnormal Service
Error Message
Service exception.
Symptom
This error code is reported if a service exception occurs when the on or off API of the deviceStatus module is called.
Possible Causes
The service status is abnormal.
Solution
- Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
- If the operation fails for three consecutive times, stop the retry. You can also attempt to obtain the sensor list to check for device availability.
32500002 Subscription Failed
Error Message
Subscribe Failed.
Symptom
This error code is reported if subscription fails when the on API of the deviceStatus module is called.
Possible Causes
Subscription to change events has failed.
Solution
- Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
- If the operation fails for three consecutive times, stop the retry.
32500003 Unsubscription Failed
Error Message
UnSubscribe Failed.
Symptom
This error code is reported if unsubscription fails when the off API of the deviceStatus module is called.
Possible Causes
Unsubscription from change events has failed.
Solution
- Retry the operation at a specified interval (for example, 1s) or at an exponential increase interval.
- If the operation fails for three consecutive times, stop the retry.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Multimodal Awareness Kit
harmony 鸿蒙Metadata Binding Error Codes
harmony 鸿蒙Motion Awareness Error Codes
harmony 鸿蒙@ohos.multimodalAwareness.deviceStatus (Device Status Awareness)
harmony 鸿蒙@ohos.multimodalAwareness.metadataBinding (Metadata Binding)
harmony 鸿蒙@ohos.multimodalAwareness.metadataBinding (Metadata Binding)
harmony 鸿蒙@ohos.multimodalawareness.motion (Motion Awareness)
harmony 鸿蒙@ohos.stationary (Device Status Awareness Framework)
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦