In The Hand
BluetoothSocketOptionName Class
NamespacesInTheHand.Net.SocketsBluetoothSocketOptionName
.NET Components for Mobility
Defines Socket configuration option names for the Socket class.
Declaration Syntax
C#Visual Basic
public static class BluetoothSocketOptionName
Public NotInheritable Class BluetoothSocketOptionName
Members
All MembersFields



IconMemberDescription
Authenticate
On connected socket, triggers authentication. On not connected socket, forces authentication on connection. For incoming connection this means that connection is rejected if authentication cannot be performed.

Encrypt
On a connected socket, this command turns encryption on or off. On an unconnected socket, this forces encryption to be on or off on connection. For an incoming connection, this means that the connection is rejected if the encryption cannot be turned on.

EnterHoldMode

EnterParkMode

EnterSniffMode

ExitParkMode

ExitSniffMode

GetAuthenticationEnabled
Retrieves the authentication settings. The socket does not have to be connected.

GetCod
Retrieve the Class of Device.

GetFlowType
Gets flow control type on the connected socket.

GetLink
Returns link key associated with peer Bluetooth device.

GetLinkPolicy
Retrieves the link policy of the device.

GetLocalVersion
Get the version information from the Bluetooth adapter.

GetMode
Gets the current mode of the connection. The mode can either be sniff, park, or hold. The socket must be connected.

GetMtu
Returns MTU (maximum transmission unit). For connected socket, this is negotiated value, for server (accepting) socket it is MTU proposed for negotiation on connection request.

GetMtuMaximum
Returns maximum MTU acceptable MTU value for a connection on this socket. Because negotiation has already happened, has little meaning for connected socket.

GetMtuMinimum
Returns minimum MTU acceptable MTU value for a connection on this socket. Because negotiation has already happened, has little meaning for connected socket.

GetPageTimeout
Gets the current page timeout. The socket does not have to be connected.

GetReceiveBuffer
Returns maximum amount of data that can be buffered for a connection. This buffer size is used to compute number of credits granted to peer device when credit-based flow control is implemented. This specifies the maximum amount of data that can be buffered.

GetRemoteVersion
Get the version of the remote adapter.

GetRls
Retrieves last line status signals set through RLS command from peer device.

GetScan
Gets the current scan mode. The socket does not have to be connected.

GetSendBuffer
Returns maximum amount of data that can be buffered inside RFCOMM (this is amount of data before call to send blocks).

GetV24Break
Retrieves last v24 and break signals set through MSC command from peer device.

GetXOffLimit
Returns XOFF limit for a connection. XOFF limit is only used for peers that do not support credit-based flow control (mandatory in the Bluetooth Core Specification 1.1). If flow has been suspended because of buffer run-up, when amount of incoming data received, but not read by an application for a given connection falls below this limit, a flow control command is sent to the peer allowing continuation of transmission.

GetXOnLimit
Returns XON limit for a connection. XON limit is only used for peers that do not support credit-based flow control (mandatory in the Bluetooth Core Specification version 1.1). When amount of incoming data received, but not read by an application for a given connection grows past this limit, a flow control command is sent to the peer requiring suspension of transmission.

ReadRemoteName
Reads the remote name of the device. The socket does not have to be connected.

SendMsc
Sends MSC command. V24 and breaks are as specified in RFCOMM Specification. Only modem signals and breaks can be controlled, RFCOMM reserved fields such as flow control are ignored and should be set to 0.

SendRls
Sends RLS command. Argument is as specified in RFCOMM Specification.

SetAuthenticationEnabled
Sets the authentication policy of the device.

SetCod
Sets the class of the device. The socket does not have to be connected.

SetLink
This sets or revokes link key to use with a connection or peer device.

SetLinkPolicy
Sets the link policy for an existing baseband connection. The socket must be connected.

SetMtu
This sets default MTU (maximum transmission unit) for connection negotiation. While allowed for connected socket, it has no effect if the negotiation has already completed. Setting it on listening socket will propagate the value for all incoming connections.

SetMtuMaximum
This sets maximum MTU for connection negotiation. While allowed for connected socket, it has no effect if the negotiation has already completed. Setting it on listening socket will propagate the value for all incoming connections.

SetMtuMinimum
This sets minimum MTU for connection negotiation. While allowed for connected socket, it has no effect if the negotiation has already completed. Setting it on listening socket will propagate the value for all incoming connections.

SetPageTimeout
Sets the page timeout for the card. The socket does not have to be connected.

SetPin
This sets or revokes PIN code to use with a connection or socket.

SetReceiveBuffer
Specifies maximum amount of data that can be buffered for a connection. This buffer size is used to compute number of credits granted to peer device when credit-based flow control is implemented. This specifies the maximum amount of data that can be buffered.

SetScan
Sets the scan mode for the card. The socket does not have to be connected.

SetSendBuffer
Specifies maximum amount of data that can be buffered inside RFCOMM (this is amount of data before call to send blocks).

SetXOffLimit
This sets XOFF limit. Setting it on listening socket will propagate the value for all incoming connections.

SetXOnLimit
This sets XON limit. Setting it on listening socket will propagate the value for all incoming connections.

XPAuthenticate
Toggles authentication under Windows XP.

XPMtu
Get or set the default MTU on Windows XP.

XPMtuMaximum
Get or set the maximum MTU on Windows XP.

XPMtuMinimum
Get or set the minimum MTU on Windows XP.

Inheritance Hierarchy
Object
BluetoothSocketOptionName

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0