Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsBlueToothDeviceMBS class.

WindowsBlueToothDeviceMBS.Comment as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ❌ No ✅ Yes ❌ No ❌ No All
The comment.

(Read only property)

WindowsBlueToothDeviceMBS.LocalAddress as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ❌ No ✅ Yes ❌ No ❌ No All
The Windows Sockets local address.

In a client application, pass this address to the bind function to obtain access to a network service.
In a network service, pass this address to the bind function so that the service is bound to the appropriate local address.

e.g. "(78:4F:12:34:56:78)"
(Read only property)

WindowsBlueToothDeviceMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ❌ No ✅ Yes ❌ No ❌ No All
The name.

e.g. "Christian Schmitz iPhone"
(Read only property)

WindowsBlueToothDeviceMBS.RemoteAddress as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ❌ No ✅ Yes ❌ No ❌ No All
Windows Sockets remote address.

There are several uses for this remote address:

  • You can use this remote address to connect to the service through the connect function. This is useful if an application performs send/receive operations that involve connection-oriented protocols.
  • You can use this remote address with the sendto function when you are communicating over a connectionless (datagram) protocol. If you are using a connectionless protocol, such as UDP, sendto is typically the way you pass data to the remote system.

e.g. "(44:00:12:34:56:78)"
(Read only property)

WindowsBlueToothDeviceMBS.SocketProtocol as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ❌ No ✅ Yes ❌ No ❌ No All
The protocol used.

The possible options for the protocol parameter are specific to the address family and socket type specified.

NameValueMeaning
IPPROTO_TCP6The Transmission Control Protocol (TCP). This is a possible value when the address family is AF_INET or AF_INET6 and the iSocketType member is SOCK_STREAM.
IPPROTO_UDP17The User Datagram Protocol (UDP). This is a possible value when the address family is AF_INET or AF_INET6 and the iSocketType member is SOCK_DGRAM.
IPPROTO_RM113The PGM protocol for reliable multicast. This is a possible value when the address family is AF_INET and the iSocketType member is SOCK_RDM. On the Windows SDK released for Windows Vista and later, this value is also called IPPROTO_PGM.
(Read only property)

WindowsBlueToothDeviceMBS.SocketType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ❌ No ✅ Yes ❌ No ❌ No All
The type of Windows socket.

NameValueMeaning
SOCK_STREAM1A stream socket. This is a protocol that sends data as a stream of bytes, with no message boundaries. This socket type provides sequenced, reliable, two-way, connection-based byte streams with an OOB data transmission mechanism. This socket type uses the Transmission Control Protocol (TCP) for the Internet address family (AF_INET or AF_INET6).
SOCK_DGRAM2A datagram socket. This socket type supports datagrams, which are connectionless, unreliable buffers of a fixed (typically small) maximum length. This socket type uses the User Datagram Protocol (UDP) for the Internet address family (AF_INET or AF_INET6).
Services use recvfrom function to obtain datagrams. The listen and accept functions do not work with datagrams.
SOCK_RDM4A reliable message datagram socket. This socket type preserves message boundaries in data. An example of this type is the Pragmatic General Multicast (PGM) multicast protocol implementation in Windows, often referred to as reliable multicast programming.
SOCK_SEQPACKET5A sequenced packet stream socket. This socket type provides a pseudo-stream packet based on datagrams.
(Read only property)

The items on this page are in the following plugins: MBS Bluetooth Plugin.


The biggest plugin in space...