BluetoothSocketExceptionReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum BluetoothSocketExceptionReason
type BluetoothSocketExceptionReason =
- Inheritance
-
BluetoothSocketExceptionReason
Fields
| Name | Value | Description |
|---|---|---|
| Unspecified | 0 | Error code representing a failure during BluetoothSocket. The reason for failure isn't specified. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapUnknown | 1 | Error code returned by BluetoothSocket during a L2CAP-related socket operation that failed for an unknown reason. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapAclFailure | 2 | Error code during connect when there is an ACL connection failure. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapClientSecurityFailure | 3 | Error code during connect when security clearance fails on the client during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapInsufficientAuthentication | 4 | Error code during connect when authentication fails on the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapInsufficientAuthorization | 5 | Error code during connect when authorization fails on the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapInsufficientEncryptKeySize | 6 | Error code during connect indicating insufficient encryption key size on the peer device during L2CAP connection. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapInsufficientEncryption | 7 | Error code during connect for insufficient encryption from the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapInvalidSourceCid | 8 | Error code during connect for invalid Channel ID from the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapSourceCidAlreadyAllocated | 9 | Error code during connect for already allocated Channel ID from the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapUnacceptableParameters | 10 | Error code during connect for unacceptable Parameters from the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapInvalidParameters | 11 | Error code during connect for invalid parameters from the peer device during L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapNoResources | 12 | Error code during connect when no resources are available for L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapNoPsmAvailable | 13 | Error code during connect when no PSM is available for L2CAP connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| L2CapTimeout | 14 | Error code during connect when L2CAP connection timeout. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| BluetoothOffFailure | 15 | Error code returned by BluetoothSocket during a socket operation that failed because Bluetooth is turned off. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SocketManagerFailure | 16 | Error code returned by BluetoothSocket during a socket operation that failed because socket manager is not available. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SocketClosed | 17 | Error code returned by BluetoothSocket during a socket operation that failed because the socket has been closed. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SocketConnectionFailure | 18 | Error code during connect for generic socket connection failures. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NullDevice | 19 | Error code during connect when null device attempts to do socket connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| RpcFailure | 20 | Error code during connect when a Runtime RPC exception occurs. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UnixFileSocketCreationFailure | 21 | Error code during connect when the UNIX socket connection creation fails. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |