• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Bluetooth Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 2900001
8
9**Error Message**
10
11Service stopped.
12
13**Description**
14
15The Bluetooth service is stopped, and the APIs related to the Bluetooth service cannot be called.
16
17**Possible Causes**
18
19The Bluetooth service fails to start.
20
21**Solution**
22
23Start the Bluetooth service.
24
25## 2900003
26
27**Error Message**
28
29Bluetooth disabled.
30
31**Description**
32
33Bluetooth is disabled.
34
35**Possible Causes**
36
37Bluetooth is disabled.
38
39**Solution**
40
41Enable Bluetooth.
42
43## 2900004
44
45**Error Message**
46
47Profile not supported.
48
49**Description**
50
51The profile is not supported.
52
53**Possible Causes**
54
55The profile is not supported by the device.
56
57**Solution**
58
59Check whether the device supports the profile. Use a profile supported by the device.
60
61## 2900005
62
63**Error Message**
64
65Device not connected.
66
67**Description**
68
69The device is not connected to Bluetooth.
70
71**Possible Causes**
72
73The device pairing fails.
74
75**Solution**
76
77Turn on Bluetooth again to start the pairing process.
78
79## 2900006
80
81**Error Message**
82
83The maximum number of connections has been reached.
84
85**Description**
86
87The number of connections reaches the maximum.
88
89**Possible Causes**
90
91The number of connections reaches the limit.
92
93**Solution**
94
95Check whether the number of paired devices exceeds the threshold.
96
97## 2900007
98
99**Error Message**
100
101Asynchronous interface invoking timeout.
102
103**Description**
104
105The asynchronous call timed out.
106
107**Possible Causes**
108
109The remote device does not respond.
110
111**Solution**
112
113Try again after the timeout. If the local and remote devices are connected, disconnect them and try again.
114
115## 2900008
116
117**Error Message**
118
119The value of proxy is a null pointer.
120
121**Description**
122
123**pimpl** or **proxy** is null.
124
125**Possible Causes**
126
127The device pairing fails.
128
129**Solution**
130
131Turn on Bluetooth again to start the pairing process.
132
133## 2900010
134
135**Error Message**
136
137Resources have reached the upper limit.
138
139**Description**
140
141This error code is reported if resource usage reaches the upper limit.
142
143**Possible Causes**
144
145The application applies for too many resources.
146
147**Solution**
148
149Call the corresponding API to release resources.
150
151## 2900099
152
153**Error Message**
154
155Operation failed.
156
157**Description**
158
159The operation failed.
160
161**Possible Causes**
162
163The profile is not supported by the device.
164
165**Solution**
166
167Perform this operation again.
168
169## 2900100
170
171**Error Message**
172
173IPC failed.
174
175**Description**
176
177IPC data transmission fails.
178
179**Possible Causes**
180
181The input data is incorrect.
182
183**Solution**
184
185Check the input data.
186
187## 2901000
188
189**Error Message**
190
191Read forbidden.
192
193**Description**
194
195The read operation is not allowed.
196
197**Possible Causes**
198
199The caller does not have the read permission.
200
201**Solution**
202
203Check whether the caller has the read permission.
204
205## 2901001
206
207**Error Message**
208
209Write forbidden.
210
211**Description**
212
213The write operation is not allowed.
214
215**Possible Causes**
216
217The caller does not have the write permission.
218
219**Solution**
220
221Check whether the caller has the write permission.
222
223## 2901054
224
225**Error Message**
226
227IO error.
228
229**Description**
230
231The I/O operation failed.
232
233**Possible Causes**
234
235The I/O transmission is abnormal.
236
237**Solution**
238
239Perform this operation again.
240
241## 2902050
242
243**Error Message**
244
245Failed to start scan as Ble scan is already started by the app.
246
247**Description**
248
249This error code is reported if the attempt to enable scanning fails.
250
251**Possible Causes**
252
253BLE scanning has been enabled.
254
255**Solution**
256
257Check whether scanning is enabled.
258