harmony 鸿蒙Bluetooth Error Codes

  • 2023-06-24
  • 浏览 (336)

Bluetooth Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

2900001

Error Message

Service stopped.

Description

The Bluetooth service is stopped, and the APIs related to the Bluetooth service cannot be called.

Possible Causes

The Bluetooth service fails to start.

Solution

Start the Bluetooth service.

2900003

Error Message

Bluetooth switch is off.

Description

Bluetooth is disabled.

Possible Causes

Bluetooth is disabled.

Solution

Enable Bluetooth.

2900004

Error Message

Profile is not supported.

Description

The profile is not supported.

Possible Causes

The profile is not supported by the device.

Solution

Check whether the device supports the profile. Use a profile supported by the device.

2900005

Error Message

This device not connected.

Description

The device is not connected to Bluetooth.

Possible Causes

The device pairing fails.

Solution

Turn on Bluetooth again to start the pairing process.

2900006

Error Message

Max connection has reached.

Description

The number of connections reaches the maximum.

Possible Causes

The number of connections reaches the limit.

Solution

Check whether the number of paired devices reaches the threshold.

2900008

Error Message

Proxy is nullptr.

Description

pimpl or proxy is null.

Possible Causes

The device pairing fails.

Solution

Turn on Bluetooth again to start the pairing process.

2900099

Error Message

Operation failed.

Description

The operation failed.

Possible Causes

The profile is not supported by the device.

Solution

Perform this operation again.

2900100

Error Message

IPC transmit failed.

Description

IPC data transmission fails.

Possible Causes

The input data is incorrect.

Solution

Check the input data.

2901000

Error Message

Read forbidden.

Description

The read operation is not allowed.

Possible Causes

The caller does not have the read permission.

Solution

Check that the caller has the read permission.

2901001

Error Message

Write forbidden.

Description

The write operation is not allowed.

Possible Causes

The caller does not have the write permission.

Solution

Check that the caller has the write permission.

2901054

Error Message

IO error.

Description

The I/O operation failed.

Possible Causes

The I/O transmission is abnormal.

Solution

Perform the operation again.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞