All Products
Search
Document Center

Mobile Platform as a Service:Bluetooth API error codes

Last Updated:Feb 04, 2021

List of Bluetooth API error codes

Error code Error message Solution
10000 The Bluetooth adapter is not initialized. Call my.openBluetoothAdapter for initialization.
10001 The Bluetooth adapter is not available. Check whether BLE is supported in your device and enable the function if it’s supported.
10002 Device not found Check the service ID and make sure peripheral broadcast of the target device is enabled.
10003 Connection failed Check the device ID and make sure peripheral broadcast of the target device is enabled.
10004 Service not found Check the service ID and make sure the service is available for target devices.
10005 Characteristic not found Use a correct characteristic ID and make sure the characteristic is enabled for the service.
10006 Connection disconnected Try to connect the Bluetooth again.
10007 Operation not supported Check the read, write and notify functions of the current characteristic.
10008 System error An unknown system error.
10009 BLE is not supported for the Android system with version lower than 4.3. Remind users that BLE is not supported in the current Android system.
10010 Descriptor not found Use a correct service ID and characteristic ID.
10011 Invalid device ID, or the device ID is empty Use a correct device ID.
10012 Invalid service ID, or the service ID is empty Use a correct service ID.
10013 Invalid characteristic ID, or the characteristic ID is empty Use a correct characteristic ID.
10014 Data is empty or in incorrect format Use correct written data or HEX conversion.
10015 Timeout Try again.
10016 Some parameters missed Check the parameters and try again.
10017 Failed to write characteristic Make sure writing is supported for peripheral characteristic, and the Bluetooth is connected.
10018 Failed to read characteristic Make sure reading is supported for peripheral characteristic, and the Bluetooth is connected.